> ## Content Index
> Fetch the complete content index at: https://globalfeed.ai/llms.txt
> Use this file to discover other available public pages before exploring further.

# Trained from scratch on one GPU in 36 hours: how does Aurora2 split its 400 million parameters?
- URL: https://globalfeed.ai/en/trained-from-scratch-on-one-gpu-in-36-hours-how-does-aurora2-split-its-400-million-parameters/
- Published: 2026-11-19T18:03:56.000Z
- Updated: 2026-11-19T18:03:56.000Z
- Description: AuroraAI Research's open Aurora2 was pretrained on 100 billion tokens on a single RTX Pro 6000 in about 36 hours. We explain its Mixture of Experts design, n-gram embeddings, staged data and optimizer choices.
- Author: GlobalFeed Editor
- Tags: Aurora2, Open Model, Open Source, Mixture of Experts, small language model, Hugging Face, dil-en, elle

Training a language model from scratch still conjures images of data centres, hundreds of GPUs and seven-figure bills. [Aurora2-400M-A20M](https://huggingface.co/AuroraAI-Research/Aurora2-400M-A20M?ref=globalfeed.ai), published on Hugging Face on 18 November, comes at it from another angle. According to its model card, it was pretrained from scratch on 100 billion tokens on a single RTX Pro 6000 in about 36 hours. It is open under Apache 2.0, and the code, model files and a detailed training recipe sit on the same page, which makes it a recipe a well-equipped desktop could repeat.

AuroraAI Research describes itself on Hugging Face as "pushing the boundaries of what's possible with tiny models". It has already released an 80K-parameter language model, the 150M Aurora1.0 and small image, speech recognition and text-to-speech models. Aurora2 is its most ambitious step: about 400 million parameters in total, of which only about 19 million run for each token.

## The idea: lots of knowledge, little compute

A classic model runs every parameter for every token. A Mixture of Experts (MoE) model contains many small sub-networks, the experts, and a small router picks which one handles each token. Think of a clinic with thirty-two doctors where reception sends each patient to just one. Each of Aurora2's 12 layers has 32 routed experts plus one always-on shared expert. Routing is top-1 and dropless, so no expert turns tokens away. Of 399,597,454 parameters, 19,050,382 are active per token, which is where the name "400M-A20M" comes from.

## Architecture: a narrow spine, wide experts

The attention stack is deliberately thin: hidden size 192, 6 query heads and 2 key-value heads (grouped-query attention), RoPE positions, 2,048-token context and a 16,384-token vocabulary. Each expert's feed-forward layer is 1,776 wide. The team adds several small extras. Hashed n-gram embeddings hash the last 2, 3 and 4 token IDs into three 16,384-bucket tables, then project and gate the result into the token embedding, so the model can look up common short phrases instead of rebuilding them in every layer. Value residuals let each layer after the first mix its attention values with the first layer's, starting at half and half. Blocks also mix in the original embedding, each attention head has a learned output gate, each expert has a learned router bias, and logits are soft-capped at 30.

## How it was trained

Data was streamed from the Hugging Face Hub, tokenized on the fly and packed into 2,048-token sequences. Most of it is [ClimbMix](https://huggingface.co/datasets/karpathy/climbmix-400b-shuffle?ref=globalfeed.ai) general web text (85.8% on average), plus FineMath, English Wikipedia and question-answer sets SmolTalk, OpenMathInstruct-2 and NuminaMath-CoT turned into plain text. The mixture changed in three stages: ClimbMix was 89.3% for the first 60B tokens, 85.8% up to 80B and 75.3% in the final 20B, when maths and Q&A data rose about two and a half times. There was no separate instruction-tuning stage. The tokenizer was trained from scratch on about 1B characters and splits every digit into its own token.

Each step processed 128 sequences, or 262,144 tokens, for roughly 381,000 steps. The learning rate followed a warmup-stable-decay schedule: warmup over 1B tokens, flat until 80B, cosine decay over the last 20B. Compute ran in BF16 with an FP32 master copy. The optimizer split is the most instructive part. Muon handled attention projections and the shared expert; AdamW handled embeddings, router, norms, gates and the 32 routed experts. The card says Muon was kept off the routed experts because in experiments it hurt routing balance and training speed. A Switch-style load-balancing loss and a router z-loss keep the experts evenly used, and the router learns at half the base rate.

## Results and how to try it

At 100B tokens the card reports HellaSwag 38.36, ARC-Easy 51.18, ARC-Challenge 26.11, PIQA 67.41 and 37.40 on an arithmetic test it calls ArithMark3\. These scores sit well below large models, and the team presents Aurora2 as a base model for research into small MoE models, routing and training efficiency. It has no instruction or preference tuning, so it continues text rather than chatting, and it is English-focused with a 2,048-token context.

It loads with Transformers and `trust_remote_code=True`, in FP32, BF16 or FP16 (`subfolder="fp16"`), and a CUDA GPU with BF16 support is recommended. Use batch size 1 or unpadded batches; beam search is not supported. The real value is the open recipe: change one variable, such as the expert count or the n-gram tables, and measure the difference on your own card. Earlier models are on the team's [Hugging Face page](https://huggingface.co/AuroraAI-Research?ref=globalfeed.ai).

Sources: [Aurora2-400M-A20M model card](https://huggingface.co/AuroraAI-Research/Aurora2-400M-A20M?ref=globalfeed.ai), [AuroraAI Research on Hugging Face](https://huggingface.co/AuroraAI-Research?ref=globalfeed.ai), [ClimbMix dataset](https://huggingface.co/datasets/karpathy/climbmix-400b-shuffle?ref=globalfeed.ai)