Manuscript Offprint
arXiv:2610.34582HobbyLM: A Sparse Mixture-of-Experts Model Family on a Hobby Budget
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We describe HobbyLM, a family of small sparse Mixture-of-Experts (MoE) models trained from scratch with a few hundred to a few thousand dollars of rented GPU time. The core is a decoder-only transformer with fine-grained experts, sigmoid routing with auxiliary-loss-free load balancing, grouped-query attention with per-head QK-normalization, and a Muon/AdamW optimizer split. Each of these choices was selected with a single-variable ablation suite at 130M parameters. On this architecture we train a 500M-parameter model (169M active) on 40B FineWeb tokens and post-train it into a chat model, a masked-diffusion language model, a function-calling and computer-use agent, and a single “omni” checkpoint that reads text, images, video, sound and speech through frozen encoders and small projectors. We run these models on a laptop CPU with a from-scratch Rust inference engine. Two of the authors then adopted the architecture without architectural changes to build HobbyLM-1B (1.04B total, 305M active parameters), trained on a 100B-token curated mixture with a high-quality anneal. HobbyLM-1B reaches a 47.5 average on seven zero-shot benchmarks, and its builders also release an instruction-tuned model and an on-device macOS computer-use adapter. Finally, we describe HobbyLM-Image, a 333M-parameter flow-matching diffusion transformer that generates images in a -compressed latent space, together with a dependency-light CPU implementation of the full text-to-image pipeline. We report what worked, what did not, and where the small-scale ceilings lie. We also state for each component which author designed or built it.
Models https://huggingface.co/rootxhacker
Code https://github.com/harishsg993010/HobbyLM
Demo https://huggingface.co/spaces/rootxhacker/HobbyLM-Playground
HobbyLM-1B models https://huggingface.co/harims95
HobbyLM-1B docs https://github.com/fuellabs-ai/hobbylm-1b
1 Introduction
Small language models are usually built by distilling or fine-tuning larger released checkpoints. HobbyLM takes the other route. Every model in the family is trained from random initialization, on public data, with rented serverless or on-demand GPUs and no cluster. We wanted to answer
*Designed the HobbyLM architecture and built the 130M and 500M models, all 500M post-training (chat, multimodal, function calling, computer use, diffusion LM), the inference engines and the image model (Sections 3, 4, 5 and 7). Correspondence: harishsg99@gmail.com.
Adopted the HobbyLM architecture to build HobbyLM-1B: data curation, data pipeline, training infrastructure, pretraining and anneal, evaluation and analysis (Section 6).

Figure 1: Zero-shot average on seven tasks (HellaSwag, OpenBookQA, WinoGrande, ARC-c, ARC-e, BoolQ, PIQA) against pretraining tokens, for base checkpoints of up to about 1B parameters (HobbyLM-1B: 1.04B total, 305M active). Filled points were run through the same evaluation wrapper (Table 5). HobbyLM-1B (hollow) was evaluated by its builders on the same tasks with the same metric choices, but with lm-eval 0.4.13 rather than 0.4.9.1 (Appendix D). HobbyLM-130M and -500M outscore MicroLlama-300M, OPT-350M and Pythia-160M, which saw 1.25–30× more tokens; Pythia-410M (300B tokens) remains ahead of HobbyLM-500M.
two questions. How far can a sub-billion-parameter sparse MoE get when the architecture and the systems work are chosen carefully? And can one person own every layer of the stack, from the optimizer to the GGUF reader to the desktop application?
Our contributions follow, in the order the work was done. Figure 1 summarizes the base-model results.
• Architecture (Section 3). A fine-grained sparse MoE decoder whose components were chosen by ablation. QK-normalization turned out to be by far the most important single choice.
• HobbyLM-500M and inference (Section 4). Pretraining at 130M and 500M; context extension to 8k; chat, masked-diffusion and interpretability variants; and inference through a llama.cpp-compatible export and a from-scratch Rust CPU engine.
• Multimodality and function calling (Section 5). A TinyLLaVA-style extension to image, video, audio and speech, co-trained into one checkpoint, plus function calling and a text-only computer-use agent driven by accessibility trees.
• HobbyLM-1B (Section 6). An independent 1B build that adopts the architecture unchanged and adds a curated 100B-token data mixture, stratified shard ordering and an anneal phase. Its builders also release an instruction-tuned model and an on-device macOS computer-use adapter.
• HobbyLM-Image (Section 7). A separate text-to-image diffusion transformer trained in a deep-compression latent space.
• Open artifacts. Appendix A lists all released weights and code for every model, including HobbyLM-1B. Appendices B–D and F give training configurations, evaluation settings and prompt formats for the 500M family and the image model; HobbyLM-1B's are in Section 6 and Appendices D, E and F.
Table 1: Provenance of each component. “Adopted” means the component was taken from the HobbyLM architecture specification and code without modification.
| Component | Content | Designed / built by |
|---|---|---|
| Architecture | MoE decoder, routing, balancing, normalization, optimizer split, presets, ablations | Harish |
| Santhanalakshmi Ganesan | ||
| 130M / 500M pretraining | FineWeb training, context extension, lm-eval wrapper | Harish |
| Santhanalakshmi Ganesan | ||
| 500M post-training | Chat (SFT+DPO), diffusion LM, SAE, multimodal omni model, function calling, computer use | Harish |
| Santhanalakshmi Ganesan | ||
| Inference | GGUF export, Rust engine hobby-rs, desktop app hobby-chat, demo Space | Harish |
| Santhanalakshmi Ganesan | ||
| HobbyLM-Image | DiT design, data curriculum, training, Rust port | Harish |
| Santhanalakshmi Ganesan | ||
| HobbyLM-1B architecture | The 1B preset of Section 3 | Adopted (Harish Santhanalakshmi Ganesan) |
| HobbyLM-1B build | 100B-token mixture, stratified shard order, H200 training, anneal, evaluation, analysis | Hariharan M. S., Prabhurajhan R. |
| HobbyLM-1B-Instruct | instruction tuning of HobbyLM-1B; GGUF build; patched CPU runtimes | Hariharan M. S., Prabhurajhan R. |
| HobbyLM-1B MLX | MLX implementation for Apple Silicon | Prabhurajhan R. |
| HobbyLM-1B Computer Use v0.1 | Mac computer-use LoRA | Prabhurajhan R. |
Section 2 places this work among related open models.
Who did what. This paper has two distinct bodies of work, and we keep them apart throughout. Harish Santhanalakshmi Ganesan designed the HobbyLM architecture, ran the ablations, and trained the 130M and 500M models, and also did all 500M post-training, including the multimodal, function-calling and computer-use models, and wrote the inference engines, the desktop application and the image model (Sections 3–5 and 7). Hariharan M. S. and Prabhurajhan R. took the architecture as specified in Section 3 and built HobbyLM-1B in their own code base. They curated the 100B-token training data, built the data pipeline and training infrastructure, ran pretraining and the anneal, and carried out the evaluation and analysis in Section 6. Table 1 gives the breakdown by component, and Appendix G gives detailed author contributions.
Sparse Mixture-of-Experts language models. Sparsely gated experts (Shazeer et al., 2017) were scaled up by Switch Transformers (Fedus et al., 2022) and stabilized by ST-MoE's router z-loss (Zoph et al., 2022). DeepSeekMoE (Dai et al., 2024) introduced fine-grained and shared experts, and fine-grained scaling laws (Ludziejewski et al., 2024) support high granularity. DeepSeek-V3 (DeepSeek-AI et al., 2024) combined sigmoid routing with auxiliary-loss-free balancing (Wang et al., 2024). OLMoE (Muennighoff et al., 2025) is the closest open blueprint: a fully open MoE with extensive design-choice ablations at 1B active parameters. Ling 2.0 (Ling Team et al., 2025) uses a routing and normalization layout close to ours, which we exploit for llama.cpp compatibility. Our contribution is not a new MoE mechanism. It is an ablation-validated combination of these components at 62M–305M active parameters, together with evidence of what transfers to multimodal, agentic and diffusion variants.
Small multimodal and agentic models. LLaVA (Liu et al., 2023a, 2024a) established the frozen-encoder-plus-projector recipe, and TinyLLaVA (Zhou et al., 2024) showed that it works with small language models. We follow that recipe with SigLIP (Zhai et al., 2023; Tschannen et al., 2025), Whisper (Radford et al., 2023) and CLAP (Wu et al., 2023) encoders, and co-train all modalities in one checkpoint. For function calling we evaluate on BFCL (Patil et al., 2025) and use the open needle metric code (Cactus Compute, 2026). For GUI agents, much recent work grounds actions in screenshots, for example Aria-UI (Yang et al., 2025b). Our computer-use model instead reads the operating system's accessibility tree as text.
Diffusion language models. Masked diffusion language models (Sahoo et al., 2024; Nie et al., 2025) generate by iterative unmasking. DiffuLLaMA (Gong et al., 2025) adapts autoregressive weights to this objective, and Fast-dLLM (Wu et al., 2026) accelerates decoding with caching and parallel commitment. We apply the adaptation recipe at 500M and measure where parallel decoding pays off.
Efficient text-to-image generation. Diffusion transformers (Peebles and Xie, 2023) trained with rectified-flow objectives (Liu et al., 2023b; Lipman et al., 2023; Esser et al., 2024) are now the standard text-to-image backbone. SANA (Xie et al., 2025) and its deep-compression autoencoder DC-AE (Chen et al., 2025) cut the token count by compressing per spatial dimension. HobbyLM-Image builds on this latent space to train a 1024px generator on a hobby budget.
3 Architecture
Designed by Harish Santhanalakshmi Ganesan
HobbyLM is a decoder-only transformer (Vaswani et al., 2017) with pre-normalization RM-SNorm (Zhang and Sennrich, 2019), rotary position embeddings (Su et al., 2024), tied input/output embeddings (Press and Wolf, 2017) and the GPT-2 byte-level BPE tokenizer (Radford et al., 2019). The vocabulary is 50,257 tokens padded to 50,304. The unused padded slots later serve as modality sentinels (Section 5). The feed-forward network of every layer except the first is a fine-grained sparse MoE (Shazeer et al., 2017; Fedus et al., 2022; Dai et al., 2024). Figure 2 gives an overview. We drew the design from the recent small-MoE literature (DeepSeekMoE/V3 (Dai et al.,

Figure 2: The HobbyLM decoder. Every layer is pre-norm. Layer 0 uses a dense SwiGLU FFN; all later layers use a sparse MoE with E routed SwiGLU experts, top-k sigmoid routing, an auxiliary-loss-free selection bias b, and (in the 500M and 1B presets) one shared expert.
2024; DeepSeek-AI et al., 2024), OLMoE (Muennighoff et al., 2025), Qwen3 (Yang et al., 2025a)) and from fine-grained MoE scaling laws (Ludziejewski et al., 2024). We then kept or dropped each disputed choice according to the ablations in Section 3.5.
3.1 Attention
Attention uses grouped-query attention (GQA) (Ainslie et al., 2023) with a single fused QKV projection and no biases. The head dimension is decoupled from the model width, following Qwen3 (Yang et al., 2025a): the 500M model uses 12 query heads of size 128 ( ) on a 768-wide residual stream. We apply RMSNorm per head to Q and K before RoPE (QK-norm (Henry et al., 2020; Dehghani et al., 2023)). This bounds the attention logits. In our ablations removing QK-norm was by far the most damaging single change (Table 3). The same intervention later fixed the training divergence of the image model (Section 7). Keys and values are expanded to the query heads and passed to scaled-dot-product attention with a causal mask. The masked-diffusion variant (Section 4.4) is the only exception and uses no mask.
3.2 Sparse MoE feed-forward
Each expert is a SwiGLU network (Shazeer, 2020) with a narrow hidden width , so granularity is high (Ludziejewski et al., 2024). Following DeepSeekMoE (Dai et al., 2024), the first layer stays dense, because early-layer routing is unstable. For a token representation the router computes sigmoid scores in fp32,
and selects experts using biased scores, as in DeepSeek-V3's auxiliary-loss-free balancing (Wang et al., 2024; DeepSeek-AI et al., 2024):
The bias b only affects which experts are selected. The gate weights are the raw scores , so the balancing signal does not compete with the language-modeling gradient. We do not renormalize the selected gates to sum to one. Renormalization was the default in our initial design, but the ablation (Table 3) favored leaving it off. OLMoE likewise weights the selected experts by their unrenormalized routing probabilities (Muennighoff et al., 2025). After each forward pass in training, the bias moves by a fixed step toward balanced load,
where is the number of tokens routed to expert , is the balanced count and . Under data parallelism the bias is averaged across ranks after every optimizer step. Bias updates are frozen for the final 5% of training. Because the update runs on every forward pass, the effective step per optimizer step is times the number of gradient-accumulation micro-batches. We keep two small regularizers. The first is a Switch-style balance term with (Fedus et al., 2022). The second is the ST-MoE router z-loss (Zoph et al., 2022), also with coefficient . We add a z-loss of on the final logits (Chowdhery et al., 2023).
Dropless expert computation. Routing has no capacity limit and drops no tokens. The (token, expert) pairs are sorted by expert, and the gathered rows go through a single grouped GEMM per projection (torch._grouped_mm) against the experts' weights, stored as 3-D tensors and . The outputs are scaled by their gates and scattered back with an indexed add. The shared expert runs on every token. At this scale no expert parallelism is needed: the 1B model fits on a single GPU.
Initialization. All weights are initialized from . Residual output projections (attention output and every expert's down-projection) are additionally scaled by . The router is scaled by a further 0.1, following the reduced initialization scale that Switch Transformers recommends for stability (Fedus et al., 2022) and ST-MoE adopts (Zoph et al., 2022).
3.3 Optimizer
We use Muon (Jordan et al., 2024b; Liu et al., 2025a) for every matrix-shaped hidden parameter, including the 3-D expert stacks. Each expert's matrix is orthogonalized independently with a batched Newton–Schulz iteration (5 steps, bf16). The update is rescaled by to match AdamW's update RMS, as in Moonlight (Liu et al., 2025a), and uses Nesterov momentum 0.95 and decoupled weight decay 0.1. The router, the tied embedding/output matrix and all vector parameters use AdamW (Loshchilov and Hutter, 2019) with . We keep the router on AdamW because orthogonalization flattens the singular values of the gate matrix and so would discard routing signal. Learning rates are 0.02 (Muon) and (AdamW) at a 262,144-token batch, scaled by for larger batches. The schedule is warmup-stable-decay (Hu et al., 2024): 100 warmup steps, a constant phase, then linear decay over the last 40% of training to the peak. Training uses fp32 master weights, bf16 autocast, TF32 matmuls and an fp32 router. The training stack borrows much of its engineering from modded-nanogpt (Jordan et al., 2024a), including the data shard format and loader, on-device loss accumulation and asynchronous host-to-device prefetch.
Table 2: HobbyLM presets. is the dense-to-expert FFN width ratio. All presets use 1 dense leading layer, RMSNorm with , RoPE (raised to for the 8k-context 500M), tied embeddings and vocabulary 50,304.
| Preset | dense FFN | top- | shared | Total | Active | ||||
|---|---|---|---|---|---|---|---|---|---|
| 130M | 512 | 12 | 1536 | 8 | 0 | 140.0M | 62.1M | ||
| 500M | 768 | 16 | 2304 | 6 | 1 | 500.8M | 169.0M | ||
| 1B | 1024 | 20 | 2816 | 8 | 1 | 1037.1M | 305.0M |
Table 3: Single-knob ablations at 130M, 3,000 steps, FineWeb validation loss (baseline 3.6688).
| Variant | Change from baseline | Val loss | |
|---|---|---|---|
| topk8 | top-8 instead of top-4 | 3.6441 | |
| no_renorm | no top- gate renormalization | 3.6542 | |
| softmax | softmax instead of sigmoid gating | 3.6677 | |
| shared1 | add one shared expert | 3.6678 | |
| baseline | – | 3.6688 | |
| scale_emb | multiply embeddings by | 3.6775 | |
| aux_loss | classic auxiliary loss instead of aux-free bias | 3.7048 | |
| no_zloss | remove router z-loss | 3.7097 | |
| experts16 | 16 experts instead of 32 | 3.7166 | |
| no_qknorm | remove QK-norm | 4.4715 |
3.4 Model presets
Table 2 lists the three presets. Parameter counts come from instantiating each configuration. The models are deep and thin, as MobileLLM recommends for sub-billion models (Liu et al., 2024b), and their total-to-active parameter ratios are .
3.5 Ablations
We tested each contested choice with a single-knob ablation at 130M (32 experts, top-4 baseline at the time) for 3,000 steps on FineWeb. All runs were launched in parallel, one per H100. Table 3 reports the validation losses. QK-norm dominates: removing it raises the loss by 0.80 nats. The router z-loss and auxiliary-loss-free balancing each matter at the 0.04 level, and so does keeping at least 32 experts. Sigmoid and softmax gating were indistinguishable, and so were 0 and 1 shared experts at 32 experts. We adopted the two winning changes into the defaults: top-8 routing for the 130M preset and no top- renormalization. We kept a shared expert in the larger presets, which have more experts, following the literature (Dai et al., 2024).
3.6 Throughput options
We ported several throughput techniques from modded-nanogpt behind flags and evaluated them for speed and quality (Table 4). The most useful was a chunked cross-entropy (fused_ce). It computes the vocabulary projection and the loss in row chunks under activation checkpointing, so the full fp32 logit tensor is never materialized. The loss and gradients are bit-identical to the baseline on CPU, and peak memory drops by . This allows roughly twice the micro-batch size: at micro-batch 32 on a 1B probe, the baseline ran out of memory, while fused_ce reached about 74k tokens/s on one H100. The Polar Express orthogonalization schedule (Amsel et al., 2026) was
Table 4: Throughput options on a 1B speed probe (one H100, micro-batch 8, sequence 1024) and quality on a 130M, 1,000-step run.
| Option | ms/step | tokens/s | Peak GB | 130M val loss |
|---|---|---|---|---|
| baseline | 222.5 | 36,821 | 33.3 | 4.0739 |
| fused_ce | 209.2 | 39,166 | 26.4 | 4.0681 |
| polar | 224.8 | 36,445 | 33.3 | 4.0790 |
| fused_ce+polar | 210.1 | 38,988 | 26.4 | 4.0855 |
| FP8 head | 223.8 | 36,605 | 33.8 | 10.90 (no gradient) |
neutral at our horizon. An FP8 output head gave no speedup and, in our implementation, passed no gradient through its backward pass. We dropped it.
4 HobbyLM-500M: pretraining, variants and inference
Work by Harish Santhanalakshmi Ganesan
4.1 Pretraining
Both models were trained on FineWeb (Penedo et al., 2024), pre-tokenized with GPT-2 into modded-nanogpt binary shards, on 8×H100 with PyTorch DDP (Li et al., 2020) and torch.compile (Ansel et al., 2024). Each optimizer step covers tokens (1,048,576).
• 130M: 9,537 steps (10B tokens), about 742 ms/step, about 2 hours. Final validation loss 3.3016.
• 500M: 38,147 steps (40B unique tokens from FineWeb-100B), about 1.21 s/step, about 13 hours. Final validation loss 3.0281.
Peak learning rates were Muon 0.04 and AdamW (the batch scaling).
Context extension. For multimodal inputs the 500M model needed a longer context. We continued pretraining at sequence length 2048 for 2,000 steps (2.1B tokens, learning rate , ). Validation loss improved to 2.999 at 2048. A second extension to 8,192 tokens raised RoPE to and reached validation loss 2.94 at 8k.
4.2 Zero-shot evaluation
We evaluate with the EleutherAI LM Evaluation Harness (Gao et al., 2024; Biderman et al., 2024) (v0.4.9.1) through a wrapper that scores log-likelihoods with the MoE and the GPT-2 tokenizer. The wrapper encodes context and continuation jointly, as the harness does for Hugging Face models. We report acc_norm where defined and acc otherwise, all 0-shot, on HellaSwag (Zellers et al., 2019), OpenBookQA (Mihaylov et al., 2018), WinoGrande (Sakaguchi et al., 2020), ARC (Clark et al., 2018), BoolQ (Clark et al., 2019) and PIQA (Bisk et al., 2020). We ran all reference models through the same wrapper and task set. We checked the wrapper by reproducing published averages for two models: MicroLlama (keeeeenw, 2024) 42.23 against 42.36 on its model card, and TinyLlama-1.1B-3T (Zhang et al., 2024) 52.75 against 52.99. Table 5 shows that the ranking follows pretraining tokens more closely than parameters. The models ahead of HobbyLM-500M were trained on 300B to 36T tokens, 7.5–900× our budget. Among models trained on at most 300B tokens, the 130M model
Table 5: 0-shot results, all base (not instruction-tuned) checkpoints, all run through the same harness wrapper. Reference models: SmolLM2 (Ben Allal et al., 2025), Qwen3 (Yang et al., 2025a), Gemma 3 (Gemma Team et al., 2025), Pythia (Biderman et al., 2023), OPT (Zhang et al., 2022), GPT-2 (Radford et al., 2019) and MicroLlama (keeeeenw, 2024).
| Model | Params | Tokens | Hella | OBQA | Wino | ARC-c | ARC-e | BoolQ | PIQA | Avg |
|---|---|---|---|---|---|---|---|---|---|---|
| SmolLM2-360M | 360M | 4T | 56.41 | 38.00 | 59.35 | 38.48 | 68.22 | 62.08 | 71.49 | 56.29 |
| Qwen3-0.6B | 600M | 36T | 53.81 | 34.60 | 58.56 | 38.31 | 58.08 | 69.82 | 70.29 | 54.78 |
| SmolLM2-135M | 135M | 2T | 43.13 | 33.20 | 52.25 | 29.44 | 58.59 | 60.37 | 68.39 | 49.34 |
| Gemma-3-270M | 270M | 6T | 41.28 | 30.60 | 53.43 | 28.33 | 57.07 | 57.77 | 68.12 | 48.09 |
| Pythia-410M | 410M | 300B | 40.14 | 28.80 | 52.96 | 23.98 | 45.45 | 58.50 | 67.52 | 45.34 |
| HobbyLM-500M | 501M/169M | 40B | 41.56 | 29.80 | 51.30 | 22.44 | 42.76 | 50.98 | 69.53 | 44.05 |
| OPT-350M | 350M | 180B | 36.55 | 28.40 | 52.80 | 24.74 | 40.49 | 57.61 | 64.69 | 43.61 |
| HobbyLM-130M | 140M/62M | 10B | 32.54 | 28.20 | 52.17 | 23.46 | 37.71 | 61.31 | 65.40 | 42.97 |
| MicroLlama-300M | 300M | 50B | 34.22 | 30.40 | 51.30 | 23.21 | 39.23 | 52.57 | 64.69 | 42.23 |
| GPT-2 (124M) | 124M | - | 31.15 | 27.40 | 51.46 | 22.53 | 39.60 | 49.94 | 62.24 | 40.62 |
| Pythia-160M | 160M | 300B | 30.21 | 26.60 | 49.64 | 24.83 | 36.95 | 42.42 | 59.52 | 38.60 |
(10B tokens) outscores MicroLlama-300M (50B), OPT-350M (180B) and Pythia-160M (300B). On two further tasks, the 500M model scores 40.0 on LAMBADA (Paperno et al., 2016) and 70.3 on SciQ (Welbl et al., 2017).
4.3 Chat model
We fine-tuned the 500M model on about 1.5M SmolTalk conversations (Ben Allal et al., 2025) (smol-smoltalk and the conversational, non-reasoning subsets of SmolTalk2), with the loss on assistant turns only. The run lasted 28k steps, ending at loss 1.50. We then applied DPO (Rafailov et al., 2023) on UltraFeedback preference pairs (Cui et al., 2024) with and learning rate , which raised preference accuracy from 0.50 to 0.64. This follows the SmolLM2 recipe. The chat model averages 42.5 on the seven tasks, against 44.0 for the base model. ARC-challenge and WinoGrande held or improved; BoolQ dropped the most (51.0 to 44.4). At decoding time a repetition penalty of 1.3 removes most of the looping we observed with greedy decoding.
4.4 Masked-diffusion variant
We converted the autoregressive 500M model into a masked-diffusion language model in the style of LLaDA and MDLM (Nie et al., 2025; Sahoo et al., 2024). As in DiffuLLaMA (Gong et al., 2025), we started from the autoregressive weights and replaced the causal mask with full bidirectional attention. Training draws per sequence, masks each token independently with probability , and minimizes the masked-token cross-entropy weighted by . A free vocabulary slot serves as the mask token. After about 20B tokens (8×B200) the validation loss was 3.52. A chat variant was then fine-tuned on SmolTalk by masking only the assistant response. We found decoding settings matter more than we expected: greedy commitment with more steps, a repetition penalty of 1.4–1.5 and low-confidence remasking turned incoherent samples into fluent multi-sentence prose. We implemented the semi-autoregressive block sampler with a cached prefix in our Rust engine (Section 4.6). On an H100 the diffusion model generates 117.7 tokens/s (128 tokens, 32 steps), about the autoregressive model's tokens/s. For comparison, Fast-dLLM reports from KV caching alone, though against a vanilla diffusion baseline rather than an autoregressive one (Wu et al., 2026). On a compute-bound laptop CPU the order reverses ( against tokens/s). Whether diffusion decoding wins depends on whether the hardware is memory-bound or compute-bound. The diffusion chat model adopts the conversational register but hallucinates more than the autoregressive chat model.
4.5 Interpretability with sparse autoencoders
We trained a top-k sparse autoencoder (Gao et al., 2025) with 12,288 latents and k = 32 on the residual stream after layer 8 of the 8k-context base model. Activations were streamed online from FineWeb (50M tokens), with no activation cache. The SAE explains 97.5–98.4% of the variance at , with about 20 dead latents. Inspection of top-activating tokens shows concept features (e.g. music, data, devices), synonym clusters (ignored / overlooked / neglected) and syntactic patterns (“% off”, “Table N”). We labeled the features automatically from their top tokens. They are shown together with live expert-routing maps in our public demo.
4.6 Inference
lama.cpp compatibility. The architecture has the same structure as llama.cpp's (Gerganov and ggml-org contributors, 2023) bailingmoe2 model (Ling 2.0 (Ling Team et al., 2025)): GQA with per-head QK-norm, sigmoid-gated experts with a selection bias, a shared expert and leading dense layers. We export to GGUF (ggml contributors, 2023) with that tensor layout. The 3-D expert stacks are transposed to llama.cpp's {d, f, E} order and the selection bias is stored as exp_probs_b. A one-line patch adds support for a head dimension decoupled from the model width. Generations matched the PyTorch reference token for token. Quantizing to Q4_K_M reduced the file from 2.16 GB to 362 MB and raised CPU decoding from about 13 to 43 tokens/s. The vision and speech encoders export to llama.cpp's multimodal projector formats (phi4 for SigLIP2 and voxtral for Whisper). Release GGUFs declare a custom hobbylm architecture name; the bailingmoe2 export remains available.
hobby-rs, a from-scratch CPU engine. hobby-rs is a Rust inference engine with no llama.cpp, ONNX or Python dependency at run time. Its parts:
• a GGUF v3 reader that takes every hyperparameter from the file's metadata;
• a GPT-2 BPE tokenizer built from the embedded vocabulary;
• a KV cache;
• sparse MoE execution that computes only the selected experts, batching prefill tokens per expert;
• a SIMD dot product and an int8×int8 Q8_0 kernel in the style of ggml's maddubs.
Its output is token-for-token identical to llama.cpp. On a 15W Intel i7-1250U laptop, enabling native AVX2 code generation and the int8 kernel raised Q8 decoding from about 28 to about 52 tokens/s. The engine also implements the diffusion samplers (fixed-schedule and confidence-threshold parallel decoding) and accepts precomputed image or speech embeddings. These let it run the multimodal model on a CPU.
Table 6: Frozen encoders and projectors of the omni model: SigLIP2 (Tschannen et al., 2025; Zhai et al., 2023), CLAP (Wu et al., 2023) with an HTSAT backbone (Chen et al., 2022), and Whisper (Radford et al., 2023).
| Modality | Frozen encoder | Tokens per input | Projector |
|---|---|---|---|
| Image (early) | SigLIP2 so400m/14 @384 | ||
| Image (from joint11) | SigLIP2 so400m/16 @512 | ||
| Video | same as image, per frame | shared | |
| Sound | CLAP HTSAT | flattened HTSAT feature map, | |
| Speech | Whisper-small encoder |
hobby-chat and the demo. hobby-chat is a desktop application built with Tauri (Tauri Contributors, 2019) that embeds hobby-rs. It runs the SigLIP2 and Whisper encoders on the CPU through candle (Hugging Face, 2023), and serves an OpenAI-compatible HTTP endpoint that our agent loops use. It also drives a Windows UI-Automation (Microsoft, 2017) computer-use loop (Section 5.4) and connects to tools through an MCP client. A public Gradio Space provides chat with every variant, image QA, image generation, per-token MoE routing visualizations and SAE feature browsing.
5 Multimodality and function calling
Work by Harish Santhanalakshmi Ganesan
5.1 Design
We extend the 500M model in the style of LLaVA and TinyLLaVA (Liu et al., 2023a; Zhou et al., 2024). Frozen encoders produce feature sequences, a small trainable two-layer GELU MLP (Hendrycks and Gimpel, 2016) projects each sequence to the model width, and the projected features replace a sentinel token in the input embeddings. The sentinels live in the unused padded vocabulary slots (IDs 50257–50262), so we never changed the tokenizer. Table 6 lists the encoders.
- Speech features are stacked two frames at a time, halving Whisper's 1,500 frames to 750 tokens.
- Video reuses the image path on sampled frames, keeping the raw per-frame tokens. Pooled frame tokens fell outside the projector's training distribution and produced unusable output.
The encoder features are pre-computed and cached wherever possible, so training never runs the vision transformer. During splicing, every feature position has its training target masked except the last. The last feature position predicts the token that follows the sentinel.
5.2 Staged training
All stages ran on Modal, almost all on 8×H100.
- Vision alignment. Projector only, on the LLaVA-Pretrain LCS-558K captions (Liu et al., 2023a; Liu, 2023), 1,500 steps. The loss fell from 6.66 to 3.02.
Table 7: Joint co-training lineage of the omni model. Each run adds paths to the cycle and resumes from its predecessor.
| Run | Added |
|---|---|
| joint5 | image, video, sound, speech (spoken QA), text |
| joint6 | single-shot tool calls |
| joint7 | text agent loop (query call result answer) and spoken agent loop (TTS'd queries) |
| joint8 | text must-call up-weighted |
| joint9 | Nemotron agentic SFT (v2) and Nemotron VLM captioning (NVIDIA, 2025b), streamed |
| joint10 | OCR (rendered text markdown) |
| joint11 | 8k context () and SigLIP2 @512 (1,024 tokens per image) |
| joint12 | SmolTalk chat, mobile actions (Google, 2025), Aria-UI desktop grounding (Yang et al., 2025b); 18 paths, 13 modalities/tasks |
-
Vision instruction tuning. We unfroze the model and fine-tuned on LLaVA-Instruct-150K (Liu et al., 2023a) with COCO images (Lin et al., 2014), using AdamW at (model) and (projector) with a cosine schedule, for one epoch (2,500 steps, final loss 1.58).
-
Sound. Audio-projector-only alignment on Clotho (Drossos et al., 2020) (3,839 clips, 1,200 steps; loss 4.46 to 2.77). The model distinguishes, for example, birds, crickets, engines and pouring water.
-
Speech. Speech-projector-only ASR alignment on LibriSpeech train-clean-100 (Panayotov et al., 2015) (about 12K utterances, 1,500 steps). This was followed by spoken question answering on VoiceAssistant-400K (Xie and Wu, 2024), with the model unfrozen.
-
Joint co-training. A single interleaved cycle over all modality “paths”, so no modality drifts while others are trained. We grew the cycle across eight runs (Table 7). Each run resumes from the previous one.
Results. Table 8 lists the multimodal results. POPE (Li et al., 2023), GQA (Hudson and Manning, 2019) and VQAv2 (Goyal et al., 2017) were run with lmms-eval (Zhang et al., 2025) through a custom model adapter. Our chat-trained model answers in sentences, so strict single-word exact match under-scores it. We report a normalized exact match (leading yes/no for POPE; the salient content word not already in the question for GQA and VQAv2) and, for the final model, also containment scoring. POPE exposes the clearest weakness: the stage-2 model answers “yes” to every probe, so accuracy is 50% and recall is 1.0. Speech recognition with only the 1.77M-parameter projector trained, and the language model frozen, reaches 28.54% WER on LibriSpeech test-clean. Most errors are homophones (francs→franks). Two zero-shot behaviors appeared without any training on the combination:
• The model grounds a spoken question in an image (“how many people?” → “three girls”).
• Video works through the image path with no video training data.
Table 8: Multimodal results of the 500M model. For the stage-2 model, GQA and VQAv2 use 2K-question subsets and POPE the full 9K set.
| Checkpoint | Benchmark (scoring) | Score |
|---|---|---|
| Vision stage 2 (384px, 2k ctx) | POPE accuracy / F1 | 50.0 / 66.7 |
| GQA (normalized exact match) | 27.85 | |
| VQAv2 val (normalized exact match) | 37.29 | |
| joint12 (512px, 8k ctx) | GQA (strict / containment) | 20.6 / 39.2 |
| VQAv2 val (strict / containment) | 28.2 / 47.0 | |
| Speech stage 1 (projector only) | LibriSpeech test-clean WER ↓ | 28.54 |
Table 9: Function calling on held-out data (needle-style metrics, %). “Grammar” is grammar-constrained decoding.
| Model | Eval set | JSON | Name F1 | Args | Param. halluc. ↓ | Exact |
|---|---|---|---|---|---|---|
| Nemotron SFT, greedy | Nemotron (400) | 93.2 | 82.2 | 51.8 | 3.8 | 38.5 |
| + grammar | Nemotron (400) | - | - | - | 0.0 | 38.5 |
| + weighted loss + grammar | Nemotron (400) | 94.3 | 83.4 | 52.9 | 0.6 | 39.5 |
| Combined data + grammar | BitAgent | - | 100.0 | - | 0.0 | 59.0 |
| Combined data + grammar | Nemotron | - | - | - | - | 37.3 |
5.3 Function calling
We train single-shot function calling in the prompt format TOOLS: [schemas] \n USER: ... ASSISTANT: followed by a JSON list of calls. We score it with the metrics of the open needle benchmark code (Cactus Compute, 2026): JSON parse rate, name F1, argument and value accuracy, parameter hallucination and exact match. The first model was fine-tuned on 268K single-call examples from Nemotron-Agentic-v1 (NVIDIA, 2025a) for 4,000 steps. These were the rows whose first tool call fits in 2,048 tokens. We then tried two levers (Table 9).
-
Grammar-constrained decoding. A character-level JSON state machine restricts tokens to valid tool names and argument keys and leaves values free. It removed parameter hallucination (3.8% to 0.0%) but left exact match unchanged. The remaining errors were semantic: a valid but wrong tool, or a value formatted differently from the reference (us vs. US).
-
Token-weighted loss. Weighting the loss 3× on names, 2× on values and 1.5× on keys gave about one point everywhere.
Adding cleaner data mattered more. Training on Nemotron, BitAgent (BitAgent, 2024) and a small multi-call set (interstellarninja, 2024) (about 816K examples, 6,000 steps) gave 59.0% exact match and 100% name F1 on BitAgent held-out data. The same model scores 37.3% on Nemotron and 5.3% on the multi-call set. Most of the spread between datasets reflects how hard each evaluation set is.
BFCL and the call/abstain tension. On BFCL v3 (Patil et al., 2025) (AST scoring, 150 examples per category, grammar-constrained), the combined model scores:
-
22.7 on simple and 29.3 on multiple;
-
about 0 on parallel, because the training data contains only the first call of each conversation;
Table 10: Held-out computer-use results of HobbyLM-Computer-Use (%).
| Split | JSON | Name F1 | Value acc. | Exact | Param. halluc. |
|---|---|---|---|---|---|
| Planning (multi-step goals) | 96.5 | 94.7 | – | 82.6 | 0.0 |
| Grounding (real application trees) | ~96 | 95.5 | 91 | 78.4 | 0.0 |
| Grounding (synthetic screens) | 100 | 90.7 | 88.6 | 72.5 | 0.0 |
- 77.8 on relevance, but only 15.3 on irrelevance.
Adding multi-turn trajectory data taught abstention: irrelevance rose to 90.7 with a 21% trajectory mix and to 95.3 with trajectories only. However, it also collapsed must-call accuracy (simple 22.7 to 0.7 to 0.0). At 500M parameters, rigid calling and abstention trade off against each other. Our explanation is that the prose summaries in the trajectories teach the model that an assistant turn is usually text. They do not teach it to tell matching tools from mismatched ones. For deployment we therefore use a forced-call policy whenever tools are supplied. The model's reply is seeded with [, the predicted name is snapped to the closest valid name, and the JSON is repaired if needed.
5.4 Computer use from accessibility trees
Our GUI agent reads text only: it never sees pixels. The screen is serialized from the Windows UI-Automation tree (Microsoft, 2017) as lines of the form [ControlType] "Name" (state). The model emits one of 12 actions as JSON: click, double-click, right-click, hover, type, key press, scroll, drag, select, set value, open app and wait. The action names its target element by name and control type rather than by coordinates. Because a 2,048-token context could not hold raw trees (58% of 100-element trees overflowed), we cap each tree at 45 elements, interactive controls first, identically at training and inference. We built the training data in three generations, with Gemini (Gemini Team et al., 2023) as the instruction writer and our own validators as filters:
-
synthetic screens of 30 application archetypes (7,200 training rows);
-
instructions written over 28 harvested real Windows trees (1,810 rows);
-
multi-step goals expanded into GOAL / DONE / NEXT rows, with a 13th finish action (1,472 rows).
Every generated action is checked against the tree: elements that are not present are rejected, and wrong control types are corrected. Table 10 gives held-out results for the released model. Parameter hallucination is zero by construction of the data, and most exact-match misses are ambiguous values ("give it a minute" → wait(60) vs. a reference of 7). On long goals, per-step errors compound, and the agent has no mechanism to recover from a wrong step. In the omni model (joint7 onward) the same tool skills also work from speech. For example, a spoken weather question is answered by calling the tool, observing the result and summarizing it in one checkpoint.
6 HobbyLM-1B: adopting the architecture
Work by Hariharan M.S. and Prabhurajhan R. The architecture is the 1B preset of Section 3, designed by Harish Santhanalakshmi Ganesan
HobbyLM-1B was built in a separate, private code base (revision 86dbb90). The public repository https://github.com/fuellabs-ai/hobbylm-1b documents the released models; it does not
Table 11: HobbyLM-1B: adopted from the architecture vs. added by the 1B build.
| Adopted unchanged | 1B preset (Table 2); sigmoid top-8-of-64 routing with aux-loss-free bias (, frozen at 95%); shared expert; QK-norm; GQA; router z-loss , balance loss , final-logit z-loss ; chunked cross-entropy; fp32 router; Muon/AdamW split and learning-rate scaling; warmup-stable-decay schedule; shard format |
|---|---|
| Added by the 1B build | 100B-token curated mixture; tokenizer study; stratified shard ordering; anneal phase on high-quality data; 4×H200 DDP training configuration; checkpoint-backup automation; evaluation; data-order and router-precision analyses; instruction tuning; macOS computer-use adapter |
Table 12: HobbyLM-1B training data.
| Source | Dataset | Shards | Tokens | Share | Phase |
|---|---|---|---|---|---|
| Educational web | FineWeb-Edu (shards 000001–000600) | 600 | 60B | 60% | Main |
| Filtered web | DCLM-baseline-1.0 | 150 | 15B | 15% | Main |
| Code | codeparrot-clean | 100 | 10B | 10% | Main |
| Math | FineMath-4plus | 100 | 10B | 10% | Main |
| Anneal | Cosmopedia-v2 (3.5B) + FineMath-4plus (1.5B) | 50 | 5B | 5% | Anneal |
contain the training code. Table 11 separates what was adopted from what was added. Several analyses in this section only make sense in light of specific architectural choices: router precision follows from sigmoid routing with a selection bias at 64 experts, and the micro-batch trade-off follows from per-forward bias updates. Where that is the case, the text links back to Section 3.
6.1 Data
Mixture. HobbyLM-1B was trained on a schedule of 100B tokens drawn from five sources (Table 12):
• FineWeb-Edu (Penedo et al., 2024), as pre-tokenized GPT-2 shards (Karpathy, 2024);
• DCLM-baseline (Li et al., 2024);
- codeparrot-clean (CodeParrot, 2021), used as a fallback because bigcode/starcoderdata was gated for the team's access token at the time; it is mostly Python;
• FineMath-4plus (Ben Allal et al., 2025);
• an anneal set of Cosmopedia-v2 from the SmolLM-Corpus (Ben Allal et al., 2024) and FineMath-4plus.
Validation uses one held-out FineWeb shard (kjj0, 2024).
Tokenizer. The team kept the GPT-2 tokenizer, which preserved direct comparability with the 130M experiments.
Shards and ordering. All data was pre-tokenized into 100M-token shards in the format of Section 3: a 1,024-byte header (magic 20240520, version, token count) followed by uint16 token IDs, with documents separated by the end-of-text token. Documents of 80 characters or fewer were
Table 13: Family mix in each third of the 1B main-phase shard order.
| Third | Shards | Edu | DCLM | Code | Math |
|---|---|---|---|---|---|
| 1 | 317 | 63.09% | 15.77% | 10.73% | 10.41% |
| 2 | 317 | 63.09% | 15.77% | 10.41% | 10.73% |
| 3 | 316 | 63.29% | 15.82% | 10.44% | 10.44% |
| Target | 63.2% | 15.8% | 10.5% | 10.5% |
dropped. Shards are consumed whole, so their order determines what the model sees over time. The team uses a seeded, stratified order that interleaves the four main-phase families in proportion to their shard counts. They verified the order on all 950 main-phase shards before launch (Table 13). Section 6.4 shows why this matters.
Tokens consumed vs. unique. The schedule consumes 95,367 steps × 1,048,576 tokens ≈ 100.0B tokens.
-
The main phase (81,062 steps, ≈85.0B tokens) draws from a 95B-token pool.
-
The anneal (14,305 steps, ≈15.0B tokens) makes about three passes over the 5B anneal set.
The anneal's FineMath portion streams from the start of the same split used for the main math shards, so the two likely overlap by about 1.5B tokens. The team therefore estimates 88.5–90B unique tokens.
6.2 Training
Table 14 gives the configuration. The learning-rate schedule spans all 95,367 steps. The main phase stops at step 81,062. The anneal resumes from that checkpoint with the same optimizer state and schedule position, and changes only the data. At the resume, the Muon learning rate was 0.0175, confirming that the cooldown continued rather than restarted.
Compute. Main pretraining took about 68 h and the anneal about 8 h of wall-clock time on four GPUs: about 76 h in total, or about 304 GPU-hours. That total excludes the 130M experiments, failed launches, sanity checks, evaluation and post-training. Billing for the instance, including data staging and checks, was about $1,167.
Engineering issues.
-
Pre-step hang. On the first provider, every launch hung before step 0. The model code contained two nested torch.compile decorators inside the custom operators of the experimental FP8 output head (Section 3.6). The head was not enabled in the 1B configuration. After both decorators were removed, compiled runs worked on a second provider. Because the environment also changed, the exact cause was not established.
-
Checkpoint storage. Checkpoints (weights plus optimizer state, about 8.5 GB each) filled local storage after an upload quota was hit. The backup process now deletes local checkpoints only after a confirmed upload.
Table 14: HobbyLM-1B training configuration.
| Hardware | 4× NVIDIA H200 SXM, one node |
|---|---|
| Parallelism | PyTorch DDP via torchrun; gradient all-reduce only on the last micro-step |
| Sequence / micro-batch / accumulation | 1,024 / 32 per GPU / 8 |
| Tokens per optimizer step | 1,048,576 |
| Precision | bf16 autocast, fp32 master weights, TF32 matmuls, fp32 router logits |
| Loss | chunked cross-entropy; final-logit z-loss ; router z-loss ; balance loss |
| Compilation | whole-model torch.compile |
| Peak learning rate | Muon 0.04, AdamW (base 0.02 / , scaled by 2) |
| Muon / AdamW | Nesterov 0.95, weight decay 0.1, 5 Newton-Schulz steps / , weight decay 0.1 |
| Schedule | 100-step warmup; constant; linear decay over the last 40% to peak |
| Gradient clipping | 1.0 |
| Expert balancing | aux-loss-free bias, , frozen at step 90,598 (95%) |
| Seed | 1337 |
6.3 Results
We report the builders' release evaluation of the final base model (Table 15): lm-eval 0.4.13, fp32, 0-shot, all examples of each split, with acc_norm for HellaSwag, ARC, PIQA and OpenBookQA and acc for WinoGrande and BoolQ. These are the same metric choices as Table 5, which used lm-eval 0.4.9.1. The seven-task average is 47.54. Like Table 5, it mixes acc and acc_norm; the builders' model card reports no average for that reason.
Table 15: HobbyLM-1B base, 0-shot release evaluation (lm-eval 0.4.13, fp32). ± is the lm-eval standard error.
| Task | Metric | Final (step 95,367) |
|---|---|---|
| HellaSwag | acc_norm | |
| PIQA | acc_norm | |
| WinoGrande | acc | |
| ARC-Easy | acc_norm | |
| OpenBookQA | acc_norm | |
| ARC-Challenge | acc_norm | |
| BoolQ | acc | |
| Average | 47.54 | |
One BoolQ document (id 3154) exceeds the base model's 1,024-token context and was left-truncated; without it, BoolQ is 49.83. Standard errors and run details are in the base model card.
6.4 Analysis
Data order at 130M. Before the 1B run, the team tested the mixture on the 130M preset (140.0M total, 62.1M active) with 5B tokens: 4,050 main-phase and 720 anneal steps (Table 16). Their first loader expanded each source's file pattern in order. Even with shuffling enabled, it
Table 16: 130M data-order experiments, 7-task average; the baseline is the 130M FineWeb-10B model of Table 5.
| Run | Data | Tokens | Average |
|---|---|---|---|
| Baseline | FineWeb | 10B | 42.97 |
| Sequential loader | curated mix, consumed source by source | 5B | 40.70 |
| Stratified order | curated mix, interleaved | 5B | 43.34 |
chose among sources rather than across all shards. In practice it consumed educational web, then DCLM, then code, and never reached math. Validation loss rose from 3.74 to 5.13 at the end of that run, and the curated mixture scored below the FineWeb baseline even after a rescue anneal. With stratified ordering, the same data and model matched the baseline (43.34 vs 42.97, single runs) with half the tokens. Shard order is effectively a training hyperparameter whenever sources are stored separately. A cheap check catches the failure before launch: print the source of the first shards and the mix in each third (as in Table 13). The baseline's average (42.97) equals that of the 130M FineWeb-10B model in Table 5.
Router precision. The released implementation uses fp32 routing. A saved precision diagnostic showed changes in routing statistics under bf16, but did not establish a benchmark degradation. These observations do not demonstrate that fp32 routing is universally necessary. Quantized GGUF builds keep the router in fp32. On seven fixed prompts, Q8_0 reproduced the recorded Hugging Face fp32 outputs on all seven, and Q4_K_M on six; F32 GGUF also matched six. Relative to F32 GGUF, perplexity increased by approximately 0.02% for Q8_0 and 1.1% for Q4_K_M on a corpus composed of evaluation prompts and model-generated answers. These are limited compatibility and quantization checks, not a broad capability evaluation.
6.5 HobbyLM-1B-Instruct
Hariharan M.S. and Prabhurajhan R. also fine-tuned the base model into HobbyLM-1B-Instruct, which follows simple instructions, rewrites and extracts text, and makes single function calls in a Python-list format. The released checkpoint is not fine-tuned directly from the 1,024-token base (Appendix E, Table 24). Its lineage first extends the base to 2,048 tokens over 550 steps, then applies a 100-step function-calling pilot, followed by a 150-step extension to 4,096 tokens with plain RoPE (, no RoPE scaling) that starts from the pilot's weights. The resulting checkpoint (R2) failed its recorded 4K retrieval evaluation, so training at sequence length 4,096 should not be read as demonstrated retrieval across that context.
R2 initializes a four-stage SFT path: 500 recovery steps over 15 data buckets; 250 continuation steps over 18 buckets; 2,000 further steps over 19 buckets to step 2,750; and a final 700-step Broad-Instruct continuation over 19 buckets, four of them rebuilt. The SFT step counter starts at the recovery stage, so step 3,450 counts 3,450 SFT optimizer steps along the selected branch, excluding the 800 extension and pilot steps. The preceding continuation run also produced checkpoints up to step 4,750; these are not ancestors of the release. Checkpoint metadata and the inspected trainer are consistent with optimizer, token-counter and sampler state being restored between SFT stages, with selected buckets reinitialized during data migrations. The final stage's launch command and the exact trainer file executed remotely were not preserved. The released weights are identical to the raw step-3,450 checkpoint (280 of 280 tensors match).
Public SFT sources include SmolTalk (Ben Allal et al., 2025) subsets for dialogue, rewriting, constraints and summarization; Nemotron-SFT-Agentic-v2 (NVIDIA, 2026); and callable examples derived from Glaive function-calling v2 (Glaive AI, 2023), ToolACE (Liu et al., 2025b) and xLAM-60k (Liu et al., 2024c). Other buckets contain internally generated math, Python, grounded-answering, instruction-following, structured-output and tool-use examples; the upstream sources of the semantic-abstention bucket are not fully traced. Table 26 lists the prepared final-stage datasets and their configured sampling shares; these describe the mixture, not the number of distinct examples consumed. Training uses 4,096-token sequences and 256 sequences per optimizer step. The step-3,450 checkpoint records about 3.62B processed token positions and 78.1M supervised tokens (SFT plus replay) over the selected path; neither is a count of unique tokens. The optimizer, objective and loss-masking details are in Appendix E. The model has no preference or safety tuning. It is released with GGUF (Q4_K_M, Q8_0, F32) and MLX builds (Appendix A).
Table 17 compares the two models under the same evaluation (lm-eval 0.4.13, fp32, 0-shot, all examples). Changes are observed differences only; we ran no significance test. CommonsenseQA and MMLU are at chance level for both models (20% and 25%). On IFEval (all 541 prompts, official lm-eval 0.4.13 scoring, the model's chat template, greedy decoding, a 2,048-token response budget), HobbyLM-1B-Instruct scores 22.92 prompt-level strict, 37.77 instruction-level strict, 24.95 prompt-level loose and 40.53 instruction-level loose. 135 of 541 responses hit the 2,048-token limit. Two prompts were flagged by an overlap check against the final-stage SFT mixture; earlier stages and pretraining were not checked.
Table 17: HobbyLM-1B base vs. Instruct, 0-shot (lm-eval 0.4.13, fp32, %). The average is over the seven tasks of Table 5.
| Benchmark | Metric | Base | Instruct |
|---|---|---|---|
| HellaSwag | acc_norm | 43.66 | 46.64 |
| ARC-Easy | acc_norm | 54.76 | 54.12 |
| ARC-Challenge | acc_norm | 29.27 | 28.41 |
| PIQA | acc_norm | 67.85 | 68.88 |
| WinoGrande | acc | 52.41 | 50.75 |
| OpenBookQA | acc_norm | 35.00 | 36.20 |
| BoolQ | acc | 49.82 | 53.36 |
| 7-task average | 47.54 | 48.34 | |
| SIQA | acc | 40.89 | 40.33 |
| CommonsenseQA | acc | 19.98 | 18.18 |
| SciQ | acc / acc_norm | 82.90 / 75.80 | 82.70 / 77.10 |
| MMLU (0-shot) | acc | 25.31 | 24.78 |
CPU inference. The GGUF builds keep the router and expert-bias tensors in F32. Like the 500M export (Section 4.6), they use llama.cpp's bailingmoe2 layout with the one-line decoupled-head-dimension patch. Stock Ollama v0.35.1 fails to load them, so the release ships patched llama.cpp and Ollama builds and a double-click Windows chat bundle. On one AMD Ryzen 9 5900HX, the Q4_K_M Instruct model generates about 14 tokens/s with about 1.3 GB peak memory.
Computer use. Prabhurajhan R. also trained HobbyLM-1B Computer Use v0.1, a LoRA adapter for HobbyLM-1B-Instruct that turns plain-English requests into Mac actions offline. It is released with its app, harness and evaluation suite (Appendix A); we do not evaluate it in this paper.
7 HobbyLM-Image: text-to-image generation
Work by Harish Santhanalakshmi Ganesan
HobbyLM-Image is a separate 333M-parameter diffusion transformer (DiT) (Peebles and Xie, 2023) trained with a flow-matching objective (Lipman et al., 2023; Liu et al., 2023b). It generates images. Training the main lineage cost about 300 of GPU time, about 445 including all experiments. That budget is possible because the model works in a deep-compression latent space rather than a conventional VAE latent.
7.1 Architecture
Latent space. We use the frozen DC-AE f32c32 autoencoder released with SANA 1.1 (Chen et al., 2025; Xie et al., 2025; MIT HAN Lab, 2025). It compresses per spatial dimension, so a image becomes a latent. Because the latent is already so compressed, the DiT uses patch size 1: every latent pixel is one token. After applying DC-AE's published scaling factor, we further normalize latents to unit variance using their empirical standard deviation on the training cache. We found that this stabilized training. In our check, DC-AE round-trip reconstruction was about 26 dB PSNR at 512px.
Two-panel canvas. The model was designed to both generate and edit images. Its input is a two-panel canvas [noisy target | source] concatenated along width, plus two mask channels (34 input channels). For generation the source panel is blank. For editing it holds the source latent. A learned left/right panel embedding and a task embedding tell the model which case applies. The loss is taken on the left (target) panel only. At 512px the canvas is 512 tokens. At 1024px it is 2,048 tokens.
Blocks. The DiT has 16 layers of width 1024 with 16 heads and MLP ratio 3 (GELU-tanh). Each block applies:
-
AdaLN-Zero (Peebles and Xie, 2023) self-attention, conditioned on the timestep and task embeddings;
-
ungated cross-attention to the text features;
-
an AdaLN-Zero MLP.
Positions are learned absolute embeddings. Text conditioning uses the frozen CLIP ViT-L/14 text encoder (Radford et al., 2021) (prompts padded or truncated to 64 tokens, width 768). The original plan conditioned on our own 500M VLM. We replaced it after the VLM failed explicit grounding probes (Section 5; joint12 scored near the language-prior baseline on strict GQA and VQAv2). As in the language model, we apply RMSNorm to Q and K per head before the dot product, in both self- and cross-attention. Without QK-norm the DiT diverged repeatedly. Lowering the learning rate only delayed the divergence, and adding QK-norm removed it.
7.2 Training
For a clean latent , noise and drawn from a logit-normal distribution (Esser et al., 2024), the model regresses the rectified-flow velocity:
Table 18: HobbyLM-Image training curriculum. Data counts are the configured per-source quotas; step counts are the defaults of the corresponding training actions.
| Stage | Res. | Data | Steps |
|---|---|---|---|
| Base | 512 | CC3M (140K), CC12M (320K), OmniEdit (40K), MagicBrush (2K) | - |
| Continued | 512 | ImageNet (50K), Midjourney-v6 recap (1M), UltraEdit (100K), OmniEdit (100K); 20–25% edit replay | 45K + 120K |
| Sharpness | 1024 | continued mix at 1024px | 20K |
| Accuracy | 1024 | FLUX-Reason-6M (500K + 150K people), Midjourney (50K) | up to 100K per run |
For edits, the weight is , which up-weights the masked foreground . For generation, . To prevent occasional metastable loss jumps, we clamp the per-sample loss at 4.0, skip non-finite batches, clip gradients at 1.0 and keep an EMA of the weights (decay 0.999). For classifier-free guidance (Ho and Salimans, 2022), the text condition is dropped of the time, and masks are dropped of the time so that mask-free inference stays in distribution. We use AdamW with and weight decay 0.02, linear warmup, and a cosine decay to of the peak learning rate. The peak is from scratch and for continued training. On a B200 the 512px DiT trains at about 887 images/s, which made a 100M-image-view run cost about $217.
7.3 Data curriculum
Each stage was triggered by a specific failure we saw in samples (Table 18). The 512px base model learned from CC3M and CC12M (Sharma et al., 2018; Changpinyo et al., 2021) plus editing pairs from OmniEdit (Wei et al., 2025) and MagicBrush (Zhang et al., 2023). These web-alt-text images taught it stock-photo watermarks. Continued training on ImageNet (Deng et al., 2009) objects and watermark-free Midjourney-v6 recaptions (Photoroom, 2026) removed the watermarks. UltraEdit (Zhao et al., 2024) and OmniEdit edits were replayed alongside to retain editing. The Midjourney-heavy mix in turn made objects look painterly and melted. At 1024px we fine-tuned on FLUX-Reason-6M (Fang et al., 2025), images generated by FLUX.1-dev (Black Forest Labs, 2024) that are literal and accurate. This corrected object geometry. A caption-filtered subset of images with people and a small amount of Midjourney data were added for human subjects and aesthetics. When we moved from 512px to 1024px, we interpolated the learned position embeddings bicubically. The final checkpoint, 1024flux4, reached a flow-matching loss of 0.76, the lowest in the lineage. The loss was still decreasing when training stopped.
7.4 Sampling and results
Sampling integrates the learned velocity field with an Euler solver from noise to data, using about 100 steps and a guidance scale around 5:
Figure 3 shows samples from the final checkpoint. Single objects and scenes are recognizable and well lit. Fine structure is often wrong (for example the bus and bicycle in the right panel of Figure 3), and people, hands and multi-person scenes are soft. We did not compute FID or GenEval. A 512px sibling checkpoint performs instruction-based editing through the source panel.

Figure 3: samples from HobbyLM-Image (final checkpoint, CFG 5, about 100 Euler steps), downscaled. Left: scene prompts. Right: object prompts. The object panel shows typical failures in fine structure (bus, bicycle).
7.5 CPU implementation
We also ported the full pipeline to hobby-rs with no ML framework dependency. The port consists of:
• a safetensors reader;
• the CLIP text encoder and its BPE tokenizer;
• the DiT and the CFG flow-matching sampler;
- the DC-AE decoder (residual blocks, linear attention and GLU-MBConv blocks, following the diffusers reference);
• a PNG writer.
A staged verifier compares every stage with PyTorch. The CLIP features match to a maximum absolute difference of , and the DiT velocities to about . Generating a image takes minutes on a laptop CPU. We accept this cost in exchange for having no framework dependency.
8 Limitations
• Token budget. The 500M model saw 40B tokens and the 1B model 100B, one to three orders of magnitude fewer than the strongest models of similar size. Every downstream variant inherits this ceiling: the models are fluent but hallucinate.
• Single runs. Every model was trained once, with one seed. The ablations are single runs at 130M and 3,000 steps, so differences of about 0.01 are within noise.
• Multimodal grounding. POPE shows the stage-2 VLM answering “yes” to every probe. Strict GQA/VQAv2 scores of the final omni model are near language-prior baselines. The stage-2 GQA and VQAv2 numbers use 2K-question subsets.
• Agents. Function calling is strong on single-call distributions similar to training data but weak on parallel calls. Computer-use errors compound over long goals. The agents act on a real desktop; our harnesses limit execution to a safe action set or a dry-run mode by default.
• 1B comparability. Same-harness baselines for the 1B model are pending. HobbyLM-1B base has a 1,024-token context. HobbyLM-1B-Instruct is configured for 4,096 tokens, but long-context retrieval is unverified, and its parent checkpoint failed a 4K retrieval test. The HobbyLM-1B training and data-preparation code is not public. No model in the family has been evaluated for safety or bias, and none has been safety-tuned.
• Image model. We report no FID or GenEval scores. The training images include synthetic images from other generators, which may carry over their biases.
9 Conclusion
A single carefully ablated sparse-MoE architecture supported an unusually wide range of models on a small budget: base, chat, diffusion, omni-modal, function-calling and computer-use models at 500M, an independently built 1B model, and the same stability recipe (QK-norm) in a separate image generator. Three lessons carried across the whole project:
• Get the normalization and routing math right first.
• Treat data order and decoding as hyperparameters.
- Measure on the hardware you care about, because memory- versus compute-bound regimes can reverse conclusions.
Acknowledgments
We thank Jarvis Labs for GPU credits toward the HobbyLM-1B training run.
AI assistance. For the HobbyLM-1B work, the authors used Anthropic's Claude through Claude Code and OpenAI's Codex to assist with writing and debugging data-preparation, training, evaluation, conversion and release scripts; inspecting and summarizing saved experimental artifacts; and drafting and revising documentation and portions of the manuscript. The authors take responsibility for the manuscript and its claims.
References
Joshua Ainslie, James Lee-Thorp, Michiel de Jong, Yury Zemlyanskiy, Federico Lebrón, and Sumit Sanghai. GQA: Training generalized multi-query transformer models from multi-head checkpoints. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 4895–4901, 2023. doi: 10.18653/v1/2023.emnlp-main.298.
Noah Amsel, David Persson, Christopher Musco, and Robert M. Gower. The polar express: Optimal matrix sign methods and their application to the Muon algorithm. In International Conference on Learning Representations (ICLR), 2026.
Jason Ansel, Edward Yang, Horace He, Natalia Gimelshein, Animesh Jain, Michael Voznesensky, Bin Bao, Peter Bell, et al. PyTorch 2: Faster machine learning through dynamic Python bytecode transformation and graph compilation. In Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2 (ASPLOS '24), pages 929–947, 2024. doi: 10.1145/3620665.3640366.
Loubna Ben Allal, Anton Lozhkov, Guilherme Penedo, Thomas Wolf, and Leandro von Werra. SmolLM-Corpus. https://huggingface.co/datasets/HuggingFaceTB/smollm-corpus, July 2024. Accessed 2026-10.
Loubna Ben Allal, Anton Lozhkov, Elie Bakouch, Gabriel Martín Blázquez, Guilherme Penedo, Lewis Tunstall, Andrés Marafioti, Hynek Kydliček, et al. SmolLM2: When smol goes big – data-centric training of a small language model. arXiv preprint arXiv:2502.02737, 2025.
Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O'Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, et al. Pythia: A suite for analyzing large language models across training and scaling. In Proceedings of the 40th International Conference on Machine Learning (ICML), volume 202 of Proceedings of Machine Learning Research, pages 2397–2430, 2023.
Stella Biderman, Hailey Schoelkopf, Lintang Sutawika, Leo Gao, Jonathan Tow, Baber Abbasi, Alham Fikri Aji, Pawan Sasanka Ammanamanchi, et al. Lessons from the trenches on reproducible evaluation of language models. arXiv preprint arXiv:2405.14782, 2024.
Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. PIQA: Reasoning about physical commonsense in natural language. Proceedings of the AAAI Conference on Artificial Intelligence, 34(05):7432–7439, 2020. doi: 10.1609/aaai.v34i05.6239.
BitAgent. BitAgent/tool_calling. https://huggingface.co/datasets/BitAgent/tool_calling, 2024. Hugging Face dataset. Accessed 2026-10.
Black Forest Labs. FLUX.1. https://github.com/black-forest-labs/flux, 2024. Official inference repository for FLUX.1 models. Accessed 2026-10.
Cactus Compute. Needle: Automation foundation model for tiny devices. https://github.com/cactus-compute/needle, 2026. GitHub repository. Accessed 2026-10.
Soravit Changpinyo, Piyush Sharma, Nan Ding, and Radu Soricut. Conceptual 12M: Pushing web-scale image-text pre-training to recognize long-tail visual concepts. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 3558–3568, 2021.
Junyu Chen, Han Cai, Junsong Chen, Enze Xie, Shang Yang, Haotian Tang, Muyang Li, Yao Lu, and Song Han. Deep compression autoencoder for efficient high-resolution diffusion models. In International Conference on Learning Representations (ICLR), 2025.
Ke Chen, Xingjian Du, Bilei Zhu, Zejun Ma, Taylor Berg-Kirkpatrick, and Shlomo Dubnov. HTS-AT: A hierarchical token-semantic audio transformer for sound classification and detection. In IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2022.
Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, et al. PaLM: Scaling language modeling with pathways. Journal of Machine Learning Research, 24(240):1–113, 2023.
Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. BoolQ: Exploring the surprising difficulty of natural yes/no questions. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), pages 2924–2936, 2019.
Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? try ARC, the AI2 reasoning challenge. arXiv preprint arXiv:1803.05457, 2018.
CodeParrot. codeparrot-clean. https://huggingface.co/datasets/codeparrot/codeparrot-clean, 2021. Hugging Face dataset; deduplicated Python files from GitHub. Accessed 2026-10.
Ganqu Cui, Lifan Yuan, Ning Ding, Guanming Yao, Bingxiang He, Wei Zhu, Yuan Ni, Guotong Xie, et al. UltraFeedback: Boosting language models with scaled AI feedback. In Proceedings of the 41st International Conference on Machine Learning (ICML), volume 235 of Proceedings of Machine Learning Research, pages 9722–9744, 2024.
Damai Dai, Chengqi Deng, Chenggang Zhao, R. X. Xu, Huazuo Gao, Deli Chen, Jiashi Li, Wangding Zeng, et al. DeepSeekMoE: Towards ultimate expert specialization in mixture-of-experts language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1280–1297, 2024. doi:10.18653/v1/2024.acl-long.70.
DeepSeek-AI, Aixin Liu, Bei Feng, Bing Xue, Bingxuan Wang, Bochao Wu, Chengda Lu, Chenggang Zhao, et al. DeepSeek-V3 technical report. arXiv preprint arXiv:2412.19437, 2024.
Mostafa Dehghani, Josip Djolonga, Basil Mustafa, Piotr Padlewski, Jonathan Heek, Justin Gilmer, Andreas Steiner, Mathilde Caron, et al. Scaling vision transformers to 22 billion parameters. In Proceedings of the 40th International Conference on Machine Learning (ICML), volume 202 of Proceedings of Machine Learning Research, pages 7480–7512, 2023.
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 248–255, 2009. doi: 10.1109/CVPR.2009.5206848.
Konstantinos Drossos, Samuel Lipping, and Tuomas Virtanen. Clotho: An audio captioning dataset. In IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 736–740, 2020. doi: 10.1109/ICASSP40776.2020.9052990.
Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, et al. Scaling rectified flow transformers for high-resolution image synthesis. In Proceedings of the 41st International Conference on Machine Learning (ICML), volume 235 of Proceedings of Machine Learning Research, pages 12606–12633, 2024.
Rongyao Fang, Aldrich Yu, Chengqi Duan, Linjiang Huang, Shuai Bai, Yuxuan Cai, Kun Wang, Si Liu, Xihui Liu, and Hongsheng Li. FLUX-Reason-6M & PRISM-Bench: A million-scale text-to-image reasoning dataset and comprehensive benchmark. arXiv preprint arXiv:2509.09680, 2025. Dataset: https://huggingface.co/datasets/LucasFang/FLUX-Reason-6M.
William Fedus, Barret Zoph, and Noam Shazeer. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. Journal of Machine Learning Research, 23(120):1–39, 2022.
Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, et al. The language model evaluation harness. https://doi.org/10.5281/zenodo.5371628, 2024. Software; concept DOI covering all releases (this paper uses v0.4.9.1 and v0.4.13). Accessed 2026-10.
Leo Gao, Tom Dupré la Tour, Henk Tillman, Gabriel Goh, Rajan Troll, Alec Radford, Ilya Sutskever, Jan Leike, and Jeffrey Wu. Scaling and evaluating sparse autoencoders. In International Conference on Learning Representations (ICLR), 2025.
Gemini Team, Rohan Anil, Sebastian Borgeaud, Jean-Baptiste Alayrac, Jiahui Yu, Radu Soricut, Johan Schalkwyk, Andrew M. Dai, et al. Gemini: A family of highly capable multimodal models. arXiv preprint arXiv:2312.11805, 2023.
Gemma Team, Aishwarya Kamath, Johan Ferret, Shreya Pathak, Nino Vieillard, Ramona Merhej, Sarah Perrin, Tatiana Matejovicova, et al. Gemma 3 technical report. arXiv preprint arXiv:2503.19786, 2025.
Georgi Gerganov and ggml-org contributors. llama.cpp: LLM inference in C/C++. https://github.com/ggml-org/llama.cpp, 2023. Accessed 2026-10.
ggml contributors. GGUF file format specification. https://github.com/ggml-org/ggml/blob/master/docs/gguf.md, 2023. Accessed 2026-10.
Glaive AI. glaive-function-calling-v2. https://huggingface.co/datasets/glaiveai/glaive-function-calling-v2, 2023. Hugging Face dataset. Accessed 2026-10.
Shansan Gong, Shivam Agarwal, Yizhe Zhang, Jiacheng Ye, Lin Zheng, Mukai Li, Chenxin An, Peilin Zhao, et al. Scaling diffusion language models via adaptation from autoregressive models. In International Conference on Learning Representations (ICLR), 2025.
Google. Mobile actions: A dataset for on-device function calling. https://huggingface.co/datasets/google/mobile-actions, 2025. Hugging Face dataset. Accessed 2026-10.
Yash Goyal, Tejas Khot, Douglas Summers-Stay, Dhruv Batra, and Devi Parikh. Making the V in VQA matter: Elevating the role of image understanding in visual question answering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017.
Dan Hendrycks and Kevin Gimpel. Gaussian error linear units (GELUs). arXiv preprint arXiv:1606.08415, 2016.
Alex Henry, Prudhvi Raj Dachapally, Shubham Shantaram Pawar, and Yuxuan Chen. Query-key normalization for transformers. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 4246–4253, 2020. doi: 10.18653/v1/2020.findings-emnlp.379.
Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022. A short version appeared in the NeurIPS 2021 Workshop on Deep Generative Models and Downstream Applications.
Shengding Hu, Yuge Tu, Xu Han, Chaoqun He, Ganqu Cui, Xiang Long, Zhi Zheng, Yewei Fang, et al. MiniCPM: Unveiling the potential of small language models with scalable training strategies. arXiv preprint arXiv:2404.06395, 2024.
Drew A. Hudson and Christopher D. Manning. GQA: A new dataset for real-world visual reasoning and compositional question answering. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2019.
Hugging Face. Candle: Minimalist ML framework for Rust. https://github.com/huggingface/candle, 2023. Accessed 2026-10.
interstellarninja. tool-calls-singleturn. https://huggingface.co/datasets/interstellarninja/tool-calls-singleturn, 2024. Hugging Face dataset. Accessed 2026-10.
Keller Jordan, Jeremy Bernstein, Brendan Rappazzo, @fernbear.bsky.social, Boza Vlado, You Jiacheng, Franz Cesista, Braden Koszarsky, and @Grad62304977. modded-nanogpt: Speedrunning the NanoGPT baseline. https://github.com/KellerJordan/modded-nanogpt, 2024a. Accessed 2026-10.
Keller Jordan, Yuchen Jin, Vlado Boza, Jiacheng You, Franz Cesista, Laker Newhouse, and Jeremy Bernstein. Muon: An optimizer for hidden layers in neural networks. https://kellerjordan.github.io/posts/muon/, 2024b. Blog post, December 2024. Accessed 2026-10.
Andrej Karpathy. fineweb-edu-100b-gpt2-token-shards. https://huggingface.co/datasets/karpathy/fineweb-edu-100B-gpt2-token-shards, 2024. Hugging Face dataset karpathy/fineweb-edu-100B-gpt2-token-shards. Accessed 2026-10.
keeeeenw. MicroLlama. https://huggingface.co/keeeeenw/MicroLlama, 2024. Hugging Face model. Accessed 2026-10.
kjj0. fineweb10b-gpt2. https://huggingface.co/datasets/kjj0/fineweb10B-gpt2, 2024. Hugging Face dataset kjj0/fineweb10B-gpt2. Accessed 2026-10.
Jeffrey Li, Alex Fang, Georgios Smyrnis, Maor Ivgi, Matt Jordan, Samir Gadre, Hritik Bansal, Etash Guha, et al. DataComp-LM: In search of the next generation of training sets for language models. In Advances in Neural Information Processing Systems 37 (Datasets and Benchmarks Track), 2024. doi: 10.52202/079017-0455.
Shen Li, Yanli Zhao, Rohan Varma, Omkar Salpekar, Pieter Noordhuis, Teng Li, Adam Paszke, Jeff Smith, Brian Vaughan, Pritam Damania, and Soumith Chintala. PyTorch distributed: Experiences on accelerating data parallel training. Proceedings of the VLDB Endowment, 13(12):3005–3018, 2020. doi: 10.14778/3415478.3415530.
Yifan Li, Yifan Du, Kun Zhou, Jinpeng Wang, Wayne Xin Zhao, and Ji-Rong Wen. Evaluating object hallucination in large vision-language models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 292–305, 2023.
Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C. Lawrence Zitnick. Microsoft COCO: Common objects in context. In European Conference on Computer Vision (ECCV), pages 740–755, 2014. doi: 10.1007/978-3-319-10602-1_48.
Ling Team, Ang Li, Ben Liu, Binbin Hu, Bing Li, Bingwei Zeng, Borui Ye, Caizhi Tang, et al. Every activation boosted: Scaling general reasoner to 1 trillion open language foundation. arXiv preprint arXiv:2510.22115, 2025.
Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In International Conference on Learning Representations (ICLR), 2023.
Haotian Liu. LLaVA visual instruct pretrain LCS-558K: a concept-balanced subset of LAION/C-C/SBU with BLIP synthetic captions. https://huggingface.co/datasets/liuhaotian/LLaVA-Pretrain, 2023. Hugging Face dataset. Accessed 2026-10.
Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. In Advances in Neural Information Processing Systems (NeurIPS), volume 36, 2023a.
Haotian Liu, Chunyuan Li, Yuheng Li, and Yong Jae Lee. Improved baselines with visual instruction tuning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 26296–26306, 2024a.
Jingyuan Liu, Jianlin Su, Xingcheng Yao, Zhejun Jiang, Guokun Lai, Yulun Du, Yidao Qin, Weixin Xu, et al. Muon is scalable for LLM training. arXiv preprint arXiv:2502.16982, 2025a.
Weiwen Liu, Xu Huang, Xingshan Zeng, Xinlong Hao, Shuai Yu, Dexun Li, Shuai Wang, Weinan Gan, Zhengying Liu, Yuanqing Yu, Zezhong Wang, Yuxian Wang, Wu Ning, Yutai Hou, Bin Wang, Chuhan Wu, Xinzhi Wang, Yong Liu, Yasheng Wang, Duyu Tang, Dandan Tu, Lifeng Shang, Xin Jiang, Ruiming Tang, Defu Lian, Qun Liu, and Enhong Chen. ToolACE: Winning the points of LLM function calling. In International Conference on Learning Representations, 2025b.
Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In International Conference on Learning Representations (ICLR), 2023b.
Zechun Liu, Changsheng Zhao, Forrest Iandola, Chen Lai, Yuandong Tian, Igor Fedorov, Yunyang Xiong, Ernie Chang, et al. MobileLLM: Optimizing sub-billion parameter language models for on-device use cases. In Proceedings of the 41st International Conference on Machine Learning (ICML), volume 235 of Proceedings of Machine Learning Research, pages 32431–32454, 2024b.
Zuxin Liu, Thai Hoang, Jianguo Zhang, Ming Zhu, Tian Lan, Shirley Kokane, Juntao Tan, Weiran Yao, Zhiwei Liu, Yihao Feng, Rithesh Murthy, Liangwei Yang, Silvio Savarese, Juan Carlos Niebles, Huan Wang, Shelby Heinecke, and Caiming Xiong. APIGen: Automated pipeline for generating verifiable and diverse function-calling datasets. In Advances in Neural Information Processing Systems (Datasets and Benchmarks Track), 2024c.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations (ICLR), 2019.
Jan Ludziejewski, Jakub Krajewski, Kamil Adamczewski, Maciej Pióro, Michał Krutul, Szymon Antoniak, Kamil Ciebiera, Krystian Król, et al. Scaling laws for fine-grained mixture of experts. In Proceedings of the 41st International Conference on Machine Learning (ICML), volume 235 of Proceedings of Machine Learning Research, pages 33270–33288, 2024.
Microsoft. UI automation overview. https://learn.microsoft.com/en-us/dotnet/framework/ui-automation/ui-automation-overview, 2017. Microsoft Learn documentation. Accessed 2026-10.
Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. Can a suit of armor conduct electricity? a new dataset for open book question answering. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 2381–2391, 2018.
MIT HAN Lab. DC-AE f32c32 (SANA 1.1, diffusers format). https://huggingface.co/mit-han-lab/dc-ae-f32c32-sana-1.1-diffusers, 2025. Hugging Face model mit-han-lab/dc-ae-f32c32-sana-1.1-diffusers. Accessed 2026-10.
Niklas Muennighoff, Luca Soldaini, Dirk Groeneveld, Kyle Lo, Jacob Morrison, Sewon Min, Weijia Shi, Pete Walsh, et al. OLMoE: Open mixture-of-experts language models. In International Conference on Learning Representations (ICLR), 2025.
Shen Nie, Fengqi Zhu, Zebin You, Xiaolu Zhang, Jingyang Ou, Jun Hu, Jun Zhou, Yankai Lin, Ji-Rong Wen, and Chongxuan Li. Large language diffusion models. In Advances in Neural Information Processing Systems (NeurIPS), 2025.
NVIDIA. Nemotron-Agentic-v1. https://huggingface.co/datasets/nvidia/Nemotron-Agentic-v1, 2025a. Hugging Face dataset. Accessed 2026-10.
NVIDIA. Llama-Nemotron-VLM-Dataset-v1. https://huggingface.co/datasets/nvidia/Llama-Nemotron-VLM-Dataset-v1, 2025b. Hugging Face dataset. Accessed 2026-10.
NVIDIA. Nemotron-SFT-Agentic-v2. https://huggingface.co/datasets/nvidia/Nemotron-SFT-Agentic-v2, 2026. Hugging Face dataset. Accessed 2026-10.
Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur. Librispeech: An ASR corpus based on public domain audio books. In IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5206–5210, 2015. doi: 10.1109/ICASSP.2015.7178964.
Denis Paperno, Germán Kruszewski, Angeliki Lazaridou, Ngoc Quan Pham, Raffaella Bernardi, Sandro Pezzelle, Marco Baroni, Gemma Boleda, and Raquel Fernández. The LAMBADA dataset: Word prediction requiring a broad discourse context. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (ACL), pages 1525–1534, 2016. doi: 10.18653/v1/P16-1144.
Shishir G. Patil, Huanzhi Mao, Fanjia Yan, Charlie Cheng-Jie Ji, Vishnu Suresh, Ion Stoica, and Joseph E. Gonzalez. The Berkeley function calling leaderboard (BFCL): From tool use to agentic evaluation of large language models. In Proceedings of the 42nd International Conference on Machine Learning (ICML), volume 267 of Proceedings of Machine Learning Research, pages 48371–48392, 2025.
William Peebles and Saining Xie. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 4195–4205, 2023.
Guilherme Penedo, Hynek Kydliček, Loubna Ben Allal, Anton Lozhkov, Margaret Mitchell, Colin Raffel, Leandro Von Werra, and Thomas Wolf. The FineWeb datasets: Decanting the web for the finest text data at scale. In Advances in Neural Information Processing Systems 37 (Datasets and Benchmarks Track), pages 30811–30849, 2024. doi: 10.52202/079017-0970.
Photoroom. midjourney-v6-recap. https://huggingface.co/datasets/Photoroom/midjourney-v6-recap, 2026. Hugging Face dataset Photoroom/midjourney-v6-recap. Accessed 2026-10.
Ofir Press and Lior Wolf. Using the output embedding to improve language models. In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers, pages 157–163, 2017. doi: 10.18653/v1/E17-2025.
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. Technical report, OpenAI, 2019. URL https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf.
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, et al. Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning (ICML), volume 139 of Proceedings of Machine Learning Research, pages 8748–8763, 2021.
Alec Radford, Jong Wook Kim, Tao Xu, Greg Brockman, Christine McLeavey, and Ilya Sutskever. Robust speech recognition via large-scale weak supervision. In Proceedings of the 40th International Conference on Machine Learning (ICML), volume 202 of Proceedings of Machine Learning Research, pages 28492–28518, 2023.
Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. In Advances in Neural Information Processing Systems (NeurIPS), volume 36, 2023.
Subham Sekhar Sahoo, Marianne Arriola, Yair Schiff, Aaron Gokaslan, Edgar Marroquin, Justin T. Chiu, Alexander Rush, and Volodymyr Kuleshov. Simple and effective masked diffusion language models. In Advances in Neural Information Processing Systems (NeurIPS), volume 37, 2024.
Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. WinoGrande: An adversarial Winograd schema challenge at scale. Proceedings of the AAAI Conference on Artificial Intelligence, 34(05), 2020. doi: 10.1609/aaai.v34i05.6399.
Piyush Sharma, Nan Ding, Sebastian Goodman, and Radu Soricut. Conceptual captions: A cleaned, hypernymed, image alt-text dataset for automatic image captioning. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (ACL) (Volume 1: Long Papers), pages 2556–2565, 2018. doi: 10.18653/v1/P18-1238.
Noam Shazeer. GLU variants improve transformer. arXiv preprint arXiv:2002.05202, 2020.
Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. In International Conference on Learning Representations (ICLR), 2017. URL https://openreview.net/forum?id=B1ckMDqlg.
Jianlin Su, Murtadha Ahmed, Yu Lu, Shengfeng Pan, Wen Bo, and Yunfeng Liu. RoFormer: Enhanced transformer with rotary position embedding. Neurocomputing, 568:127063, 2024. doi:10.1016/j.neucom.2023.127063.
Tauri Contributors. Tauri. https://github.com/tauri-apps/tauri, 2019. https://tauri.app. Accessed 2026-10.
Michael Tschannen, Alexey Gritsenko, Xiao Wang, Muhammad Ferjad Naeem, Ibrahim Alabdulmohsin, Nikhil Parthasarathy, Talfan Evans, Lucas Beyer, et al. SigLIP 2: Multilingual vision-language encoders with improved semantic understanding, localization, and dense features. arXiv preprint arXiv:2502.14786, 2025.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems, volume 30, 2017.
Lean Wang, Huazuo Gao, Chenggang Zhao, Xu Sun, and Damai Dai. Auxiliary-loss-free load balancing strategy for mixture-of-experts. arXiv preprint arXiv:2408.15664, 2024.
Cong Wei, Zheyang Xiong, Weiming Ren, Xinrun Du, Ge Zhang, and Wenhu Chen. OmniEdit: Building image editing generalist models through specialist supervision. In International Conference on Learning Representations (ICLR), 2025.
Johannes Welbl, Nelson F. Liu, and Matt Gardner. Crowdsourcing multiple choice science questions. In Proceedings of the 3rd Workshop on Noisy User-generated Text (W-NUT), pages 94–106, 2017.
Chengyue Wu, Hao Zhang, Shuchen Xue, Zhijian Liu, Shizhe Diao, Ligeng Zhu, Ping Luo, Song Han, and Enze Xie. Fast-dLLM: Training-free acceleration of diffusion LLM by enabling KV cache and parallel decoding. In International Conference on Learning Representations (ICLR), 2026.
Yusong Wu, Ke Chen, Tianyu Zhang, Yuchen Hui, Marianna Nezhurina, Taylor Berg-Kirkpatrick, and Shlomo Dubnov. Large-scale contrastive language-audio pretraining with feature fusion and keyword-to-caption augmentation. In IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2023. doi: 10.1109/ICASSP49357.2023.10095969.
Enze Xie, Junsong Chen, Junyu Chen, Han Cai, Haotian Tang, Yujun Lin, Zhekai Zhang, Muyang Li, et al. SANA: Efficient high-resolution text-to-image synthesis with linear diffusion transformers. In International Conference on Learning Representations (ICLR), 2025. arXiv title: “SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformers”.
Zhifei Xie and Changqiao Wu. Mini-omni: Language models can hear, talk while thinking in streaming. arXiv preprint arXiv:2408.16725, 2024. Released the VoiceAssistant-400K dataset, https://huggingface.co/datasets/gpt-omni/VoiceAssistant-400K.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025a.
Yuhao Yang, Yue Wang, Dongxu Li, Ziyang Luo, Bei Chen, Chao Huang, and Junnan Li. AriaUI: Visual grounding for GUI instructions. In Findings of the Association for Computational Linguistics: ACL 2025, pages 22418–22433, 2025b. doi: 10.18653/v1/2025.findings-acl.1152.
Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. HellaSwag: Can a machine really finish your sentence? In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics (ACL), pages 4791–4800, 2019.
Xiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, and Lucas Beyer. Sigmoid loss for language image pre-training. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 11975–11986, 2023.
Biao Zhang and Rico Sennrich. Root mean square layer normalization. In Advances in Neural Information Processing Systems, volume 32, 2019.
Kai Zhang, Lingbo Mo, Wenhu Chen, Huan Sun, and Yu Su. MagicBrush: A manually annotated dataset for instruction-guided image editing. In Advances in Neural Information Processing Systems (NeurIPS) Datasets and Benchmarks Track, volume 36, 2023.
Kaichen Zhang, Bo Li, Peiyuan Zhang, Fanyi Pu, Joshua Adrian Cahyono, Kairui Hu, Shuai Liu, Yuanhan Zhang, et al. LMMs-Eval: Reality check on the evaluation of large multimodal models. In Findings of the Association for Computational Linguistics: NAACL 2025, pages 881–916, 2025. doi: 10.18653/v1/2025.findings-naacl.51.
Peiyuan Zhang, Guangtao Zeng, Tianduo Wang, and Wei Lu. TinyLlama: An open-source small language model, 2024.
Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, et al. OPT: Open pre-trained transformer language models. arXiv preprint arXiv:2205.01068, 2022.
Haozhe Zhao, Xiaojian Ma, Liang Chen, Shuzheng Si, Rujie Wu, Kaikai An, Peiyu Yu, Minjia Zhang, Qing Li, and Baobao Chang. UltraEdit: Instruction-based fine-grained image editing at scale. In Advances in Neural Information Processing Systems (NeurIPS) Datasets and Benchmarks Track, volume 37, 2024.
Baichuan Zhou, Ying Hu, Xi Weng, Junlong Jia, Jie Luo, Xien Liu, Ji Wu, and Lei Huang. TinyLLaVA: A framework of small-scale large multimodal models. arXiv preprint arXiv:2402.14289, 2024.
Barret Zoph, Irwan Bello, Sameer Kumar, Nan Du, Yanping Huang, Jeff Dean, Noam Shazeer, and William Fedus. ST-MoE: Designing stable and transferable sparse expert models. arXiv preprint arXiv:2202.08906, 2022.
A Artifacts
Table 19 lists every released artifact.
Table 19: Released artifacts. Hugging Face repositories are under https://huggingface.co/.
| Artifact | Location | Description |
|---|---|---|
| HobbyLM-Base | rootxhacker/HobbyLM-Base | 500M base model, 8k context (Section 4) |
| HobbyLM-Chat | rootxhacker/HobbyLM-Chat | SmolTalk SFT and UltraFeedback DPO |
| HobbyLM-Computer-Use | rootxhacker/HobbyLM-Computer-Use | function calling and accessibility-tree agent (Section 5.4) |
| HobbyLM-Omni | rootxhacker/HobbyLM-Omni | joint12 omni checkpoint with vision and speech projectors (Section 5) |
| HobbyLM-Diffusion | rootxhacker/HobbyLM-Diffusion | masked-diffusion chat model (Section 4.4) |
| HobbyLM-SAE | rootxhacker/HobbyLM-SAE | top-k SAE on layer 8 of HobbyLM-Base |
| HobbyLM-gguf | rootxhacker/HobbyLM-gguf | GGUF builds of the language models (hobbylm architecture) |
| HobbyLM-Image | rootxhacker/HobbyLM-Image | 333M text-to-image DiT (Section 7) |
| HobbyLM-Playground | spaces/rootxhacker/HobbyLM-Playground | interactive demo |
| HobbyLM code | github.com/harishsg993010/HobbyLM | training, evaluation, export, hobby-rs, hobby-chat |
| HobbyLM-1B | harims95/hobbylm-1B | 1B base model (Section 6) |
| HobbyLM-1B-Instruct | harims95/hobbylm-1B-instruct | instruction-tuned 1B (Section 6.5) |
| HobbyLM-1B MLX | harims95/hobbylm-1B-mlx | Instruct for Apple silicon (MLX) |
| HobbyLM-1B GGUF | harims95/hobbylm-1B-gguf | Instruct in Q4_K_M, Q8_0 and F32; base in F32. Needs the patched llama.cpp from the v1.0.0 release; stock Ollama does not load these files |
| HobbyLM-1B Computer Use v0.1 | Hobbylm/hobbylm-1B-computer-use | LoRA adapter for HobbyLM-1B-Instruct, Mac actions |
| HobbyLM-1B chat | spaces/harims95/hobbylm-1b-chat | interactive demo |
| HobbyLM-1B code | github.com/fuellabs-ai/hobbylm-1b | model code, GGUF converter, runtime patches, computer-use app |
B Training configuration
The pretraining runs (Table 20) use the optimizer and schedule of Section 3. All post-training runs (Table 21) use AdamW with and no weight decay, a linear warmup, and a cosine decay to zero. The configuration of HobbyLM-1B is in Table 14, and that of HobbyLM-Image in Table 22. Where the repository does not record a value used by a specific run, we give the training script's default and mark it with . Values that are neither recorded nor defaulted are marked “-”.
C Compute
Table 23 lists the compute recorded for the main runs. All 500M-family and image work ran on Modal serverless GPUs. Short runs (projector alignment, ablations, evaluations) are not listed individually.
Table 20: Pretraining and context-extension configuration (8×H100, DDP, torch.compile).
| ... | 130M | 500M | 500M ctx-2k | 500M ctx-8k |
|---|---|---|---|---|
| Initialization | random | random | 500M | 500M ctx-2k |
| Steps | 9,537 | 38,147 | 2,000 | - |
| Tokens per step | 1,048,576 | 1,048,576 | 1,048,576 | - |
| Tokens | ≈10B | ≈40B | ≈2.1B | - |
| Sequence length | 1,024 | 1,024 | 2,048 | 8,192 |
| RoPE | ||||
| Peak LR (Muon / AdamW) | - | |||
| Warmup / decay | 100 steps / linear over the last 40% to peak | |||
| Muon | Nesterov 0.95, weight decay 0.1, 5 Newton-Schulz steps (bf16) | |||
| AdamW | , weight decay 0.1 | |||
| Gradient clipping | 1.0 | |||
| Expert bias | per forward pass, frozen after 95% of steps | |||
| Precision | fp32 master weights, bf16 autocast, TF32, fp32 router | |||
| Step time | 742 ms | 1,208 ms | - | - |
| Final validation loss | 3.3016 | 3.0281 | 2.999 | 2.94 |
Table 21: Post-training configuration. All runs use 8×H100 unless noted. Micro-batch is per GPU.
| Stage | Trainable / data | LR | Warmup | Micro | Steps |
|---|---|---|---|---|---|
| Chat SFT | full model; SmolTalk () | 28,000 | |||
| Chat DPO | full model; UltraFeedback, | - | |||
| Diffusion chat SFT | full model; SmolTalk, sequence 1,024 | 8,000 | |||
| Vision stage 1 | projector; LCS-558K | 1,500 | |||
| Vision stage 2 | model + projector; LLaVA-Instruct-150K | 2,500 | |||
| Sound stage 1 (1×H100) | audio projector; Clotho | - | - | - | 1,200 |
| Speech stage 1 (1×H100) | speech projector; LibriSpeech-100 | - | - | - | 1,500 |
| Spoken QA (1×H100) | model + speech projector; VoiceAssistant-400K | - | - | - | 1,200 |
| joint5 | model + all projectors; 5 paths | 2,000 | |||
| joint6 / joint7 | + tools / + agent loops | 2,400 / 3,200 | |||
| Tool SFT | full model; Nemotron (268K) | 4,000 | |||
| Tool SFT, combined | full model; Nemotron + BitAgent + multi-call () | 6,000 |
D Evaluation details
Language modeling. For the 130M and 500M models and the reference models (Table 5), we use lm-evaluation-harness v0.4.9.1 (Gao et al., 2024), 0-shot, through a custom LM wrapper. The wrapper scores log-likelihoods with the MoE and the GPT-2 tokenizer. It encodes context and continuation jointly, matching the harness's handling of Hugging Face models; this fix changed averages
Table 22: HobbyLM-Image configuration.
| Backbone | DiT, 16 layers, width 1024, 16 heads, MLP ratio 3, patch 1, 333M parameters |
|---|---|
| Input | two-panel DC-AE f32c32 latent plus 2 mask channels (34 channels) |
| Conditioning | CLIP ViT-L/14 text features (64 tokens × 768), timestep, task |
| Objective | rectified flow, logit-normal , foreground weight for edits |
| Optimizer | AdamW, , weight decay 0.02, gradient clipping 1.0 |
| Learning rate | from scratch, continued; warmup 1,000 / 500 steps; cosine to 10% |
| Micro-batch | 32 (512px pilot), 64 (512px continued), 16 (1024px) |
| Regularization | EMA 0.999; per-sample loss clamp 4.0; text dropout 10%; mask dropout 50% |
| Sampling | Euler, about 100 steps, CFG about 5 |
Table 23: Recorded compute for the main runs. GPU-hours are wall-clock time multiplied by the number of GPUs; where only the cost was recorded, we give the cost.
| Run | Hardware | Wall-clock | GPU-hours / cost |
|---|---|---|---|
| 130M pretraining (10B tokens) | 8×H100 | ≈2 h | ≈16 |
| 500M pretraining (40B tokens) | 8×H100 | ≈13 h | ≈104 |
| 500M context extension to 2k | 8×H100 | ≈1 h | ≈8 |
| Tool SFT (4,000 steps) | 8×H100 | ≈23 min | ≈3 |
| joint co-training (1,600 steps) | 8×H100 | ≈40 min | ≈5 |
| Diffusion LM adaptation (20B tokens) | 8×B200 | – | ≈$155 |
| HobbyLM-Image (all experiments) | H100 / B200 | – | ≈$445 |
| HobbyLM-1B (100B tokens) | 4×H200 | ≈76 h | ≈304 |
by at most 0.08 points. We report acc_norm where the task defines it and acc otherwise. Reference models were loaded from Hugging Face and run through the same task configuration. HobbyLM-1B and HobbyLM-1B-Instruct were evaluated by their builders with a separately recorded setup: lm-eval 0.4.13, fp32, 0-shot, all examples of each split, with the same acc_norm/acc choices. The wrapper description above does not apply to them. No complete training-data exposure audit was done for these lm-eval tasks.
Vision-language. We run lmms-eval (Zhang et al., 2025) with a custom model adapter. The image sentinel is placed before the prompt USER: <question>\nASSISTANT:. Decoding is greedy with a repetition penalty of 1.3 and no repeated trigrams, with at most 8 new tokens for POPE and 32 otherwise.
-
Normalized exact match takes the leading yes/no for POPE. For GQA and VQAv2 it takes the salient content word that does not occur in the question.
-
Containment generates the full answer and counts it correct when the normalized gold answer appears in it.
Function calling. The needle-style metrics (Cactus Compute, 2026) compare a predicted JSON call list with the reference:
• JSON parse rate;
• name F1 over tool names;
• argument accuracy;
• value accuracy;
• parameter hallucination: the rate of argument keys absent from the schema;
• exact match of the full call list.
BFCL v3 (Patil et al., 2025) uses AST matching. Every predicted parameter must exist in the reference, and each value must be in the reference's list of acceptable values. Parallel calls are matched without regard to order. Relevance requires a call, and irrelevance requires abstention. Computer-use splits are scored with the same metrics on held-out rows, split by screen (single step) or by trajectory (planning).
E HobbyLM-1B-Instruct training details
This appendix was prepared from the 1B authors' investigation of saved checkpoints and configuration files. Counter values are as recorded in the checkpoints, not an independent recount of the remote training stream.
Table 24: Selected checkpoint path of HobbyLM-1B-Instruct. Identity is the SHA-256 prefix of each stage's output. The 800 extension and pilot steps precede the SFT step counter. The step-2,751–4,750 continuation and a separate step-3,400 summarization branch are not ancestors of step 3,450.
| Stage | Identity | Steps |
|---|---|---|
| Base (step 95,367) | 947e80d9 | pretraining |
| 2K extension | 0add7bf0 | 550 |
| Function-calling pilot | 3f60c420 | 100 |
| 4K plain-RoPE extension (R2) | 4a0c8215 | 150 |
| SFT D: recovery, step 500 | 7f1e7213 | 500 |
| SFT E: continuation, step 750 | df65ea5a | 250 |
| SFT F: continuation, step 2,750 | 62bba97b | 2,000 |
| SFT G: Broad-Instruct release, step 3,450 | ef62430d | 700 |
Table 25: Supervised-token increments (SFT plus replay) recorded in the checkpoints. The final raw-position counter is , which includes padded and masked positions.
| SFT stage | Supervised tokens |
|---|---|
| D, step 0 → 500 | 11,869,621 |
| E, step 500 → 750 | 5,789,137 |
| F, step 750 → 2,750 | 43,678,658 |
| G, step 2,750 → 3,450 | 16,776,587 |
| Cumulative | 78,114,003 |
Batch and replay. Each optimizer step uses 256 sequences of 4,096 tokens (micro-batch 8, gradient accumulation 32). Pretraining-style replay is configured at about 0.46% of sampled rows, with an expected contribution of about 20% of supervised tokens; its actual supervised-token share was not measured separately.
Table 26: Prepared datasets and configured sampling shares for the final Broad-Instruct stage (step 2,750 → 3,450). Shares are conditional on selecting an SFT row and are rounded; replay is a separate share of about 0.46% of all sampled rows. Row counts are prepared rows, not unique examples consumed. Earlier stages used different mixtures and, for some buckets, different files. Revision prefixes are as recorded.
| SFT bucket | Source | Rows | Share |
|---|---|---|---|
| Nemotron Policy-B | nvidia/Nemotron-SFT-Agentic-v2; consumed file’s revision unknown | 130,411 | 22.6% |
| Verified math v2 | internal generation | 159,852 | 11.6% |
| Math answer-key v1 | internal generation | 120,000 | 8.7% |
| smol-magpie-ultra | SmolTalk, revision 5feaf2fd | 261,204 | 8.5% |
| Tool trajectory v1 | internal generation | 30,000 | 7.5% |
| Python coding v2 | internal generation | 89,998 | 6.0% |
| Multispan synthesis v2 | internal generation | 89,986 | 5.4% |
| Semantic abstention | upstream sources not fully traced | 5,455 | 5.2% |
| Document knowledge v1 | internal generation | 77,727 | 4.7% |
| Python coding v1 | internal generation | 60,000 | 4.0% |
| Precise instruction v2 | internal generation | 48,236 | 3.6% |
| Callable positives | Glaive function-calling v2 / ToolACE / xLAM-60k, revisions e7f4b645 / 6bda777c / 26d14ebf | 17,994 | 3.1% |
| smol-rewrite | SmolTalk, 5feaf2fd | 4,599 | 2.7% |
| Structured output v2 | internal generation | 30,702 | 2.3% |
| Grounded summarization | SmolTalk smol-summarize, 5feaf2fd | 2,143 | 1.5% |
| Short-context tool result | internal generation | 1,978 | 1.3% |
| Tool-result natural answer | internal generation | 654 | 0.5% |
| Grounded JSON extraction | smol-summarize emails, constructed targets | 528 | 0.45% |
| smol-constraints | SmolTalk, 5feaf2fd | 5,400 | 0.4% |
The final stage rebuilt the magpie, rewriting, summarization and extraction buckets; earlier magpie, rewriting and extraction counts were 261,254, 4,624 and 548. Internal generators have recorded seed tags, but their code versions are not linked. Replay uses pretraining-style shards whose file list and revisions were not audited. A configured share is neither a measured supervised-token share nor a measure of a bucket’s contribution to learning.
Objective. In the inspected training implementation, SFT supervision covers the response, including its end-of-text token, and replay rows are supervised on all tokens. With replay weight , the chunked cross-entropy is normalized over the combined supervised tokens, and the auxiliary and z-loss terms are added separately. The displayed logging formula differs from this backward objective, so we describe the inspected implementation.
Optimizer. Muon updates the matrix parameters and AdamW the rest, with nominal peak learning rates of and , AdamW and weight decay 0.1. Stages D and E end at about the nominal rates, and F and G at ; the final rates are (Muon) and (AdamW). Equal rates at G’s endpoints do not show that the rate was constant during G; G’s full schedule and launch flags are unknown.
Execution caveats. The remote trainer’s runtime hash was not recorded. Code history supports the reconstruction, but does not establish byte-for-byte identity with what ran. Part of the sampler coverage comes from a reconstructed step-500 data state, and some buckets have unknown wrap counts, so per-bucket coverage is not exact measured consumption.
F Prompt formats
The formats below are those of the 130M/500M family (Sections 4–5); HobbyLM-1B-Instruct uses different formats, given at the end of this appendix. All use plain-text role prefixes rather than special tokens. In the 500M training data, each assistant turn ends with the end-of-text token.
Chat. SYSTEM: <optional system prompt> USER: <message> ASSISTANT: <response><|endoftext|>
Function calling. TOOLS: [{"name": ..., "description": ..., "parameters": {...}}, ...] USER: <request> ASSISTANT: [{"name": "<tool>", "arguments": {...}]}<|endoftext|> TOOL: <result> ASSISTANT: <answer><|endoftext|>
Computer use (planning). SCREEN: [Window] "Calculator" [Button] "Seven" ... GOAL: <goal> DONE: <instruction 1>; <instruction 2> (or: nothing yet) NEXT: [{"name": "click", "arguments": {"name": "Seven", "control_type": "Button"}]}
Multimodal. The projected features replace a sentinel token (image 50257, sound 50258, video 50261, speech 50262) placed before the text turn:
<IMAGE> USER: <question> ASSISTANT: <answer><|endoftext|>
HobbyLM-1B-Instruct. Training formats vary across the 1B SFT data buckets. The bundled chat template follows the role-marker convention of the inspected conversational and tool-use examples. Rewriting, summarization and JSON-extraction examples use instruction-and-input formats without these markers, and format verification does not cover every bucket. The role markers are ordinary tokenizer text, not dedicated special tokens. An inspected tool-result example:
<|user|> Convert 32.0 miles to kilometers. <|assistant|> [convert_length(value=32.0, from_unit='miles', to_unit='km')] <|tool|> {"value": 32.0, "from_unit": "miles", "to_unit": "km", "converted": 51.5} <|assistant|> That's roughly 51.5 km.<|endoftext|>
In this example only the final natural-language answer and the end-of-text token are supervised; the earlier assistant and tool text is context. This does not mean every assistant turn is unsupervised in every bucket.
G Author contributions
Harish Santhanalakshmi Ganesan designed the HobbyLM architecture and ran the ablation study. Harish Santhanalakshmi Ganesan also:
• trained the 130M and 500M models, including context extension;
• built all 500M post-training: the chat, diffusion-LM, SAE, multimodal omni, function-calling and computer-use models;
• wrote the GGUF export, the hobby-rs engine, the hobby-chat application and the demo Space;
• designed and trained HobbyLM-Image;
• wrote Sections 1–5 and 7.
Hariharan M. S. and Prabhurajhan R. adopted the architecture to build HobbyLM-1B. They:
• curated the 100B-token training data;
• built the data pipeline and training infrastructure;
• ran the pretraining and anneal phases;
• built HobbyLM-1B-Instruct and its GGUF release;
• carried out the evaluation and analysis reported in Section 6, which is based on their draft.
Prabhurajhan R. developed the HobbyLM-1B MLX implementation for Apple Silicon. Prabhurajhan R. built HobbyLM-1B Computer Use v0.1.