whatmodel.sh / Pythia 12B
Pythia 12B
↗ share
+ contribute
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.
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.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 837 | 25±3 | local | |||
| 838 | 25±1 | comparison only | |||
| 839 | 25±1 | local | |||
| 840 | 25±1 | local | |||
| 841 | 25±1 | local | |||
| more from EleutherAI | |||||
| 822 | 28±1 | local | |||
| 848 | 23±1 | local | |||
| 856 | 20±1 | local | |||
$ what it's good at
other tests16 not in a task · 100% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| ARC Challenge +1 | 35.1% ✎ | ▁·▁··▁▁▇▂█▆▃ beats 8/26 | 32% |
| WinoGrande +1 | 64.0% ✎ | ▁····▁··▁▂█▄ beats 8/26 | 13% |
| ARC Easy +1 | 63.7% ✎ | ▁▁·▁▁▄▅▄█▅▁▃ beats 11/26 | 9.4% |
| SciQ +1 | 90.2% ✎ | ▁·▁·▁·▃▅▃█▄▁ beats 8/26 | 6.6% |
| PIQA +1 | 76.3% ✎ | ▁·▁··▁▁▃█▅█▂ beats 11/26 | 6.4% |
| BoolQ | 67.3% ✎ | ▂▃▂▅▆▃▅▆█▂▂▂ beats 11/26 | 5.5% |
| ImageNetVC visual commonsense, text-only LLM average (0/5-shot) | 50.0% ✎ | ▂·▄·▂█▄▄█▄▂▆ beats 13/21 | 5.2% |
| HellaSwag | 67.4% ✎ | ▃···▁▇▅█▇▃▁▁ beats 10/26 | 4.6% |
8 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LAMBADA (OpenAI version), last-word accuracy +1 | 70.6% ✎ | ▁··▂▁▁▁▂▆█▅▃ beats 15/26 | 4.4% |
| F2WTQ free-form table QA, 2-shot direct answer accuracy | 7.8% ✎ | ▄···█·▄█··▄▄ beats 0/7 | 3.6% |
| Factual knowledge recall, Premium2k exact match (zero-shot) | 15.3% ✎ | ▅····▃▅·██·█ beats 4/13 | 2.2% |
| Factual knowledge recall, Premium2k exact match (10-shot) | 23.2% ✎ | ▃▅▃··▅▃·█▃▃▅ beats 3/13 | 1.8% |
| OpenBookQA | 26.4% ✎ | █·▁▁▃·▁▃▅▇▃▄ beats 9/26 | 1.8% |
| Social IQA | 42.0% ✎ | ▁···▁▃█▁▁▁·▁ beats 12/26 | 1.4% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 34.0% ✎ | ▃▁▃▁▁▁▁▁▂█▅▁ beats 39/276 | 0.9% |
| This is not a Dataset (negation), zero-shot accuracy | 50.1% ✎ | █▁····▃▁·▁·▁ beats 3/14 | 0.3% |
$ 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
- 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 | shWindowsirm https://llama.app/install.ps1 | iex - Run Pythia 12B · needs 9.5 GB memory, 7.58 GB download · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/pythia-12b-GGUF:Q4_K_M - 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
- Install LM Studio · Open the app once before using the lms command.
- Run Pythia 12B · needs 9.5 GB memory, 7.58 GB download · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/pythia-12b-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Pythia 12B · needs 9.5 GB memory, 7.58 GB download · from huggingface.co/mradermacherchat in the terminal
ollama run hf.co/mradermacher/pythia-12b-GGUF:Q4_K_M
Other ways to run it
- 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