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.
$ how it compares
The LLMs ranked either side of Pythia 12B, out of 828 with a score, then more from EleutherAI.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 775 | 25±2 | local | |||
| 776 | 25±2 | local | |||
| 777 | 25±1 | local | |||
| 778 | 25±3 | local | |||
| 779 | 25±2 | local | |||
| more from EleutherAI | |||||
| 756 | 28±1 | local | |||
| 780 | 25±1 | local | |||
| 787 | 23±1 | local | |||
$ what it's good at
other tests13 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 | 33% |
| WinoGrande +1 | 64.0% ✎ | ▁····▁··▁▂█▄ beats 8/26 | 14% |
| ARC Easy +1 | 63.7% ✎ | ▁▁·▁▁▄▅▄█▅▁▃ beats 11/26 | 12% |
| SciQ +1 | 90.2% ✎ | ▁·▁·▁·▃▅▃█▄▁ beats 8/26 | 8.4% |
| PIQA +1 | 76.3% ✎ | ▁·▁··▁▁▃█▅█▂ beats 11/26 | 7.0% |
| BoolQ | 67.3% ✎ | ▂▃▂▅▆▃▅▆█▂▂▂ beats 11/26 | 6.8% |
| LAMBADA (OpenAI version), last-word accuracy +1 | 70.6% ✎ | ▁··▂▁▁▁▂▆█▅▃ beats 15/26 | 5.0% |
| HellaSwag | 67.4% ✎ | ▃···▁▇▅█▇▃▁▁ beats 10/26 | 4.5% |
5 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Factual knowledge recall, Premium2k exact match (zero-shot) | 15.3% ✎ | ▅····▃▅·██·█ beats 4/13 | 2.5% |
| Factual knowledge recall, Premium2k exact match (10-shot) | 23.2% ✎ | ▃▅▃··▅▃·█▃▃▅ beats 3/13 | 2.4% |
| OpenBookQA | 26.4% ✎ | █·▁▁▃·▁▃▅▇▃▄ beats 9/26 | 1.9% |
| Social IQA | 42.0% ✎ | ▁···▁▃█▁▁▁·▁ beats 12/26 | 1.6% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 34.0% ✎ | ▃▁▃▁▁▁▁▁▂█▅▁ beats 39/276 | 0.7% |
$ where to run it
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 ~7.6 GB · 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 ~7.6 GB · 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 ~7.6 GB · 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 ~23.84 GB · 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'])"
Official weights and documentation: huggingface.co/EleutherAI ↗
$ how the score was worked out · Stability AI — original Stabl… 64%, Pythia: A Suite for Analyzing… 30%, Towards a Holistic Evaluation… 5% and 1 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
| source | results | share of the score |
|---|---|---|
| 10 | 64% | |
| 6 | 30% | |
| 2 | 5% | |
| 1 | 1% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 24.9 |
$ 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