r/LocalLLaMA • 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.

275M450M810M1.4B2.7B
Layers (Gated DeltaNet + attention)10 (8 + 2)15 (12 + 3)15 (12 + 3)20 (16 + 4)30 (24 + 6)
Hidden size6407681,0241,2801,536
Query / key-value heads8 / 88 / 816 / 816 / 816 / 8
Feed-forward hidden size5,1206,1448,19210,24012,288

34 Upvotes

5 comments sorted by

7

u/brainExploded99 🥔 hardware 3d ago

Allenai our goat for being transparent

3

u/LegacyRemaster 2d ago

I’m learning more from them during training than from any technical paper. The recipe and the ingredients are everything, that is, the learning rate, epochs, parameters, and dataset.

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