whatmodel.sh / OLMo 7B Instruct
OLMo 7B Instruct
↗ share
+ contribute
OLMo 7B Instruct is an open-weights language model from Ai2, released February 2024. Its published size is 6.89B parameters. Licence: apache-2.0.
Catalogue identity notes
Comparison-only. Arena entry 'olmo-7b-instruct' (text). LMArena's leaderboard table (arena-leaderboard space @6f2eeeb) labels 'olmo-7b-instruct' as 'OLMo-7B-instruct' (Allen AI, Apache-2.0), linking https://huggingface.co/allenai/OLMo-7B-Instruct. Maker repo allenai/OLMo-7B-Instruct @5e3ff29: licence tag apache-2.0. 6,888,095,744 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-02: month the maker's Hugging Face repo was created (createdAt 2024-02-23).
$ how it compares
The LLMs ranked either side of OLMo 7B Instruct, out of 828 with a score, then more from Ai2.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 743 | 30±1 | comparison only | |||
| 744 | 30±1 | comparison only | |||
| 745 | 29±2 | local | |||
| 746 | 29±1 | local | |||
| 747 | 29±1 | local | |||
| more from Ai2 | |||||
| 259 | 58±1 | local | |||
| 262 | 58±1 | local | |||
| 314 | 55±2 | local | |||
$ what it's good at
coding█··········█ #1 of 2 * · 14% of its score · 1 test
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Tulu 2: CodexEval pass@10 lab | 27.8% ✎ | ▃▃▄▁▄▃▃█▃▁▁▄ beats 3/27 | 14% |
chat & writing▁▁▃▃▅▄▅█▆▆▇▃ #382 of 393 * · 47% of its score · 2 tests
Beats Phi-2 (2.7B) here, though they rank higher overall. Trails Gemma 3 270M IT, SmolLM2 360M Instruct, Granite 4.0 350M here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024) | 995.0 ✎ | ▂▁▂▁▃▇█▆▇▄▂▂ beats 13/95 | 23% |
| LMArena (text) | 1073.6 ✎ | ▁▁▃▂▃▃▃▆▆▇█▃ beats 13/379 | 23% |
math█··········█ #1 of 2 * · 14% of its score · 1 test
other tests3 not in a task · 23% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BIG-Bench Hard lab | 35.8% ✎ | ▁▁▁▁▂▄▅▅█▃▄▁ beats 16/129 | 14% |
| MMLU lab | 46.1% ✎ | ▁▁▁▁▁▂▃▅█▃▆▃ beats 30/183 | 6.3% |
| Tulu 2: TyDiQA gold passage, 1-shot F1 lab | 21.7% ✎ | ▃··▂▂▃▂▂█▅▁▂ beats 0/27 | 2.8% |
$ where to run it
Other ways to run it
- Run it as published · needs ~13.78 GB · from huggingface.co/allenai
pip install ai2-olmo && python -c "from hf_olmo import OLMoForCausalLM, OLMoTokenizerFast; o=OLMoForCausalLM.from_pretrained('allenai/OLMo-7B-Instruct'); t=OLMoTokenizerFast.from_pretrained('allenai/OLMo-7B-Instruct'); p=t.apply_chat_template([{'role': 'user', 'content': 'What is language modeling?'}], tokenize=False, add_generation_prompt=True); i=t.encode(p, add_special_tokens=False, return_tensors='pt'); print(t.batch_decode(o.generate(input_ids=i.to(o.device), max_new_tokens=100, do_sample=True, top_k=50, top_p=0.95), skip_special_tokens=True)[0])"
Weights and documentation: huggingface.co/allenai ↗
$ how the score was worked out · OLMo: Accelerating the Scienc… 52%, Polyrating: A Cost-Effective… 23%, LMArena leaderboard dataset 23%
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 5 | 52% | |
| 1 | 23% | |
| 1 | 23% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 29.0 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json