Aurora2-400M-A20M-SFT
lightweight chat MoE model
2 min readupdated
This model is a dialogue fine-tuned version of the base pre-trained Aurora2-400M-A20M model from AuroraAI-Research. Built on a Sparse MoE (Sparse Mixture of Experts) architecture with a shared expert, it features 12 layers and activates only 19.1M of its 399.6M total parameters. It was fine-tuned on 5 billion tokens in User/Assistant format while retaining a portion of the pre-training data to prevent base skill degradation. It is well-suited for researchers and developers studying compact MoE architectures and running local experiments.
Key features
- Sparse MoE architecture with 32 experts (top-1) and one shared expert, keeping all 32 experts active.
- Only 19.1M active parameters out of a total of 399.6M.
- 2048-token context, byte-level BPE tokenizer (16,384 vocabulary size), and n-gram hash embeddings.
- Retention of base model quality through a mix of dialogues and pre-training data replay.
What you can do
- Run local English-language chats via the transformers library using the built-in chat template.
- Use the model in research tasks to study the behavior of sparse MoE architectures at a small scale.
- Choose the optimal weight format for available hardware (FP32, FP16, and BF16 are available).
Example
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "AuroraAI-Research/Aurora2-400M-A20M-SFT"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True, device_map="auto")
messages = [{"role": "user", "content": "Can you explain what photosynthesis is in simple terms?"}]
ids = tok.apply_chat_template(messages, tokenize=True, return_tensors="pt").to(model.device)
out = model.generate(input_ids=ids, max_new_tokens=160)Read more
DetailsDialogue loss decreased from 1.505 to 1.254 (ppl 3.51), and Math QA loss dropped from 0.781 to 0.738 (ppl 2.09).
Fine-tuning: 5B tokens, Muon and AdamW optimizers, Apache-2.0 license.
Limitations: prone to factual and arithmetic errors, may drift off topic, and lacks safety filters (not for production use).










Comments