whatmodel.sh / OLMo 1B

OLMo 1B is an open-weights language model from Allen Institute for AI, released February 2024. Its published size is 1.18B parameters and a 2k-token context window. Licence: apache-2.0.

Catalogue identity notes

OLMo 1B (Feb 2024, 3T tokens), main checkpoint of allenai/OLMo-1B; the -hf repo is AI2's Transformers-format conversion of the same weights.

21.0±1.5#685 of 719 LLMsfrom 8 benchmark results across 1 source

$ how it compares

The LLMs ranked either side of OLMo 1B, out of 828 with a score, then more from Allen Institute for AI.

#modelscorewhereRAMreleased
789Pythia 2.8B EleutherAI21±1local~3.4GB2023-02
790BLOOM 7.1B BigScience21±1local~7.1GB2022-07
791OLMo 1B Allen Institute for AI21±2local~2.2GB2024-02
792Phi-1 (1.3B) Microsoft21±4local~2.4GB2023-09
793Qwen1.5 0.5B Chat Alibaba21±3local~1.8GB2024-01
more from Allen Institute for AI
493OLMo 2 13B Instruct (1124) Allen Institute for AI46±1local~9.6GB2024-12
516Tulu 2 70B Allen Institute for AI46±2local~28GB2023-11
557Code Tulu 2 34B Allen Institute for AI44±2local~72GB2023-11

see all LLMs · find the ones that fit your machine

$ what it's good at

other tests8 not in a task · 99% of its score
testresultvs the others in its rundifficultycountswhy
ARC Challenge lab34.5% ✎▃▃······▃▅▃█ beats 1/8easy · avg 88%▇▇▇▇▇▇▇ 18%sharp
WinoGrande lab58.9% ✎▂····▃·▂·▂▂█ beats 1/8easy · avg 89%▇▇▇▇▇▇ 15%typical
SciQ lab88.1% ✎▂·▃···▂·▂·█▂ beats 1/8very easy · avg 98%▇▇▇▇▇ 14%typical
HellaSwag lab62.5% ✎▂·····▃▂·▂·█ beats 1/8very easy · avg 92%▇▇▇▇▇ 13%at its level
OpenBookQA lab46.4% ✎▄·····▄▄▄██▄ beats 2/8easy · avg 84%▇▇▇▇▇ 12%typical
ARC Easy lab58.1% ✎▃···▃·▃··▃▅█ beats 1/8easy · avg 88%▇▇▇▇ 11%at its level
BoolQ lab60.7% ✎█····▃··█▃·▃ beats 0/8easy · avg 92%▇▇▇▇ 10%at its level
PIQA lab73.7% ✎▄····▄·▄▄▄██ beats 1/8easy · avg 88%▇▇ 6.0%blunt · at its level

$ where to run it

llama.cpp · recommended

version

  1. Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.
    macOS / Linux
    curl -LsSf https://llama.app/install.sh | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run OLMo 1B · needs ~0.7 GB · from huggingface.co/mradermacher
    chat in the terminal
    llama cli -hf mradermacher/OLMo-1B-hf-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf mradermacher/OLMo-1B-hf-GGUF:Q4_K_M

LM Studio

version

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run OLMo 1B · needs ~0.7 GB · from huggingface.co/mradermacher

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/mradermacher/OLMo-1B-hf-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run OLMo 1B · needs ~0.7 GB · from huggingface.co/mradermacher
    chat in the terminal
    ollama run hf.co/mradermacher/OLMo-1B-hf-GGUF:Q4_K_M

Other ways to run it

  1. Run it as published · needs ~4.71 GB · from huggingface.co/allenai
    uv run --with torch --with 'transformers<5' python -c "from transformers import pipeline; print(pipeline('text-generation', model='allenai/OLMo-1B-hf')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"

Weights and documentation: huggingface.co/allenai ↗

$ how the score was worked out · OLMo: Accelerating the Scienc… 99%

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

sourceresultsshare of the scorelicence
OLMo: Accelerating the Science of Language Models — authors' own runs · lab-reported8▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 99%CC BY 4.0
prior · pull toward the middle▇ 1%
weighted average= 21.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