Skip to content
Renaissance Labs
Learn
Models
Lessons
Minds
Films
Capabilities
Recipes
Notes
Atlas
/
Topics
Moe
1 recipe
Recipes
MoE LoRA SFT (Local) · Renaissance Labs × NAISS
Hemma on Inkling-2-Mini: Fine-tuning a 26.4B MoE for Swedish in 27 minutes at home
Apply the Hemma Swedish SFT recipe (hemma-sv-sft-v0.2) to Thinking Machines' Apache-2.0 Inkling-2-Mini (26.4B-total looped MoE) in just 27 minutes on a 32 GB Apple M5 MacBook. By keeping the NVFP4/MXFP8 routed experts frozen, training attention LoRA on the top 4 layers (1.11M trainable params = 0.004%), and filtering sequences to <=500 tokens with mlx_lm's exact ChatDataset to prevent mask_prompt NaN, validation loss drops from 1.451 to 0.731 (best, step 400) / 0.867 (step 2,000), Sv-BLiMP climbs from 89.1% to 92.2% (+3.1 pp), and creative Swedish agreement errors disappear.
27 min 2,000 steps · 202.4k tok · 1 Apple M5 laptop (32 GB) · 92.2% 59/64 (+3.1 pp vs base)
Other topics
Supervised fine-tuning
Multilingual
Preference tuning
Swedish
Lora
Mlx
Hemma
Local training
Datasets
Evaluation
Gguf
Hallucination
Prelude
Training practice
Alignment
Calibration
Decision models
Decisions
Gemma4
Model identity
Reinforcement learning
Esc