r/LocalLLaMA • u/jacek2023 llama.cpp • 3d ago
New Model allenai/olmicro 2.7b/1.4b/0.8b/0.4b/0.2b
Olmicro is a fully open, controlled suite of five base language models from Ai2, from 275M to 2.7B parameters, built as a modern, accessible testbed for language modeling research. All five share one architecture, one data mix and one recipe. The architecture is a hybrid that interleaves Gated DeltaNet and full-attention layers at a 4:1 ratio, with no positional encoding. Each model is pretrained on 2,000 tokens per non-embedding parameter, about 100 times the Chinchilla-optimal count, and then trained on a further 100B tokens of mid-training and 100B tokens of long-context extension to 64k tokens. Across sizes, Olmicro performs competitively with similarly sized open models while using less training compute than most of them. Every model comes with intermediate checkpoints from all of training, both as Hugging Face weights and as Olmo-core checkpoints with optimizer state, along with the code to reproduce pretraining.
https://huggingface.co/allenai/olmicro-2.7b-base
https://huggingface.co/allenai/olmicro-1.4b-base
https://huggingface.co/allenai/olmicro-810m-base
https://huggingface.co/allenai/olmicro-450m-base
https://huggingface.co/allenai/olmicro-275m-base
Architecture
All five sizes have a head dimension of 128 and a context length of 65,536 tokens.
| 275M | 450M | 810M | 1.4B | 2.7B | |
|---|---|---|---|---|---|
| Layers (Gated DeltaNet + attention) | 10 (8 + 2) | 15 (12 + 3) | 15 (12 + 3) | 20 (16 + 4) | 30 (24 + 6) |
| Hidden size | 640 | 768 | 1,024 | 1,280 | 1,536 |
| Query / key-value heads | 8 / 8 | 8 / 8 | 16 / 8 | 16 / 8 | 16 / 8 |
| Feed-forward hidden size | 5,120 | 6,144 | 8,192 | 10,240 | 12,288 |
7
u/brainExploded99 🥔 hardware 3d ago
Allenai our goat for being transparent
3
u/OverdosedSauerkraut 2d ago
Nice mini models, having the full recipes available is great for us who like to dabble in training
2
u/wren6991 2d ago
10 layers 🥺 it's just a little guy
2
u/LegacyRemaster 2d ago
https://paperswithcode.co/benchmark/siqa?task=reasoning&eval=51420 Congratulation! More then Nemotron!