whatmodel.sh / Pythia 12B

Pythia 12B is an open-weights language model from EleutherAI, released February 2023. Its published size is 11.8B parameters and a 2k-token context window. Licence: apache-2.0.

Catalogue identity notes

Final (step 143000) checkpoint of the standard (non-deduplicated) Pythia model, repo main branch. Total parameter count from the Pythia model card.

24.7±0.9#699 of 743 LLMsfrom 22 benchmark results across 7 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Pythia 12B, out of 897 with a score, then more from EleutherAI.

#modelscorewhereRAMreleased
837RedPajama-INCITE Base 3B v1 Together25±3local~3.4GB2023-05
838GPT-3 curie (API base model) OpenAI25±1comparison only2020-06
839Pythia 12B EleutherAI25±1local~9.5GB2023-02
840GPT-J 6B EleutherAI25±1local~14GB2021-06
841OpenLLaMA 3B v2 OpenLM Research25±1local~4.2GB2023-07
more from EleutherAI
822GPT-NeoX-20B EleutherAI28±1local~14GB2022-02
848Pythia 6.9B EleutherAI23±1local~6.1GB2023-02
856Pythia 2.8B EleutherAI20±1local~3.4GB2023-02

see all LLMs · find the ones that fit your machine

$ what it's good at

other tests16 not in a task · 100% of its score
testresultvs the others in its rundifficultycountswhy
ARC Challenge +135.1% ✎▁·▁··▁▁▇▂█▆▃ beats 8/26easy · avg 82%▇▇▇▇▇▇▇▇▇▇▇▇▇ 32%sharp · several runs
WinoGrande +164.0% ✎▁····▁··▁▂█▄ beats 8/26easy · avg 87%▇▇▇▇▇ 13%at its level · several runs
ARC Easy +163.7% ✎▁▁·▁▁▄▅▄█▅▁▃ beats 11/26easy · avg 87%▇▇▇▇ 9.4%blunt · at its level · several runs
SciQ +190.2% ✎▁·▁·▁·▃▅▃█▄▁ beats 8/26very easy · avg 98%▇▇▇ 6.6%blunt · several runs
PIQA +176.3% ✎▁·▁··▁▁▃█▅█▂ beats 11/26easy · avg 87%▇▇▇ 6.4%blunt · at its level · several runs
BoolQ67.3% ✎▂▃▂▅▆▃▅▆█▂▂▂ beats 11/26easy · avg 88%▇▇ 5.5%at its level
ImageNetVC visual commonsense, text-only LLM average (0/5-shot)50.0% ✎▂·▄·▂█▄▄█▄▂▆ beats 13/21easy · avg 74%▇▇ 5.2%blunt · at its level
HellaSwag67.4% ✎▃···▁▇▅█▇▃▁▁ beats 10/26very easy · avg 91%▇▇ 4.6%at its level
8 more tests
testresultvs the others in its rundifficultycountswhy
LAMBADA (OpenAI version), last-word accuracy +170.6% ✎▁··▂▁▁▁▂▆█▅▃ beats 15/26very easy · avg 87%▇▇ 4.4%blunt · at its level · several runs
F2WTQ free-form table QA, 2-shot direct answer accuracy7.8% ✎▄···█·▄█··▄▄ beats 0/7medium · avg 56%▇ 3.6%typical
Factual knowledge recall, Premium2k exact match (zero-shot)15.3% ✎▅····▃▅·██·█ beats 4/13medium · avg 53%▇ 2.2%typical
Factual knowledge recall, Premium2k exact match (10-shot)23.2% ✎▃▅▃··▅▃·█▃▃▅ beats 3/13medium · avg 61%▇ 1.8%typical
OpenBookQA26.4% ✎█·▁▁▃·▁▃▅▇▃▄ beats 9/26hard · avg 49%▇ 1.8%too hard for it
Social IQA42.0% ✎▁···▁▃█▁▁▁·▁ beats 12/26hard · avg 56%▇ 1.4%blunt
Open PT-LLM Leaderboard average (9 Portuguese tasks)34.0% ✎▃▁▃▁▁▁▁▁▂█▅▁ beats 39/276medium · avg 72%▇ 0.9%noisy
This is not a Dataset (negation), zero-shot accuracy50.1% ✎█▁····▃▁·▁·▁ beats 3/14hard · avg 67%▇ 0.3%sharp · too hard for it · noisy

$ 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 Pythia 12B · needs 9.5 GB memory, 7.58 GB download · from huggingface.co/mradermacher
    chat in the terminal
    llama cli -hf mradermacher/pythia-12b-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf mradermacher/pythia-12b-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 Pythia 12B · needs 9.5 GB memory, 7.58 GB download · from huggingface.co/mradermacher

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/mradermacher/pythia-12b-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 Pythia 12B · needs 9.5 GB memory, 7.58 GB download · from huggingface.co/mradermacher
    chat in the terminal
    ollama run hf.co/mradermacher/pythia-12b-GGUF:Q4_K_M

Other ways to run it

  1. Run it as published · needs 26.5 GB memory, 23.8 GB download · from huggingface.co/EleutherAI (official)
    uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='EleutherAI/pythia-12b', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"

Model repository and documentation: huggingface.co/EleutherAI ↗

$ how the score was worked out · Stability AI — original Stabl… 57%, Pythia: A Suite for Analyzing… 29%, ImageNetVC: Zero- and Few-Sho… 5% and 4 more

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

$ 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