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.

20.8±1.7#710 of 743 LLMsfrom 8 benchmark results across 1 source

Score within the LMArena (text) comparison set only.

$ how it compares

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

#modelscorewhereRAMreleased
852SmolLM2 360M Instruct Hugging Face22±3local~1GB2024-10
853FastChat-T5 3B LMSYS21±2local~8.5GB2023-04
854OLMo 1B Allen Institute for AI21±2local~2.3GB2024-02
855BLOOM 7.1B BigScience21±1local~7GB2022-07
856Pythia 2.8B EleutherAI20±1local~3.4GB2023-02
more from Allen Institute for AI
514OLMo 2 13B Instruct (1124) Allen Institute for AI47±1local~9.6GB2024-12
521Tulu 2 70B Allen Institute for AI47±2local~28GB2023-11
583Code Tulu 2 34B Allen Institute for AI45±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 86%▇▇▇▇▇▇▇ 17%sharp
HellaSwag lab62.5% ✎▂·····▃▂·▂·█ beats 1/8very easy · avg 91%▇▇▇▇▇▇▇ 16%at its level
WinoGrande lab58.9% ✎▂····▃·▂·▂▂█ beats 1/8easy · avg 87%▇▇▇▇▇▇ 16%typical
SciQ lab88.1% ✎▂·▃···▂·▂·█▂ beats 1/8very easy · avg 98%▇▇▇▇▇ 13%blunt
OpenBookQA lab46.4% ✎▄·····▄▄▄██▄ beats 2/8easy · avg 81%▇▇▇▇▇ 12%typical
ARC Easy lab58.1% ✎▃···▃·▃··▃▅█ beats 1/8easy · avg 85%▇▇▇▇ 10%blunt · at its level
BoolQ lab60.7% ✎█····▃··█▃·▃ beats 0/8easy · avg 88%▇▇▇ 8.7%at its level
PIQA lab73.7% ✎▄····▄·▄▄▄██ beats 1/8easy · avg 87%▇▇ 6.1%blunt · at its level

$ where to run it

Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.

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 2.3 GB memory, 0.73 GB download · 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 2.3 GB memory, 0.73 GB download · 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 2.3 GB memory, 0.73 GB download · 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 6.4 GB memory, 4.71 GB download · 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'])"

Model repository 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 · maker-reported8CC BY 4.0
prior · pull toward the middle
weighted average= 20.8

$ 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