whatmodel.sh / GPT-NeoX-20B
GPT-NeoX-20B
↗ share
+ contribute
GPT-NeoX-20B is an open-weights language model from EleutherAI, released February 2022. Its published size is 20.55B parameters and a 2k-token context window. Licence: apache-2.0.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of GPT-NeoX-20B, out of 897 with a score, then more from EleutherAI.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 820 | 28±3 | comparison only | |||
| 821 | 28±1 | local | |||
| 822 | 28±1 | local | |||
| 823 | 28±2 | local | |||
| 824 | 28±1 | local | |||
| more from EleutherAI | |||||
| 839 | 25±1 | local | |||
| 840 | 25±1 | local | |||
| 848 | 23±1 | local | |||
$ what it's good at
other tests24 not in a task · 100% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| ARC Challenge +1 | 40.8% ✎ | ▁·▁··▁▁▇▂█▆▃ beats 15/26 | 34% |
| WinoGrande +1 | 66.1% ✎ | ▁····▁··▁▂█▄ beats 15/26 | 11% |
| HellaSwag +1 | 71.4% ✎ | ▃···▁▇▅█▇▃▁▁ beats 14/26 | 7.4% |
| ARC Easy +1 | 68.7% ✎ | ▁▁·▁▁▄▅▄█▅▁▃ beats 15/26 | 5.3% |
| BoolQ | 69.5% ✎ | ▂▃▂▅▆▂▅▆█▂▂▂ beats 12/26 | 5.0% |
| OpenBookQA +1 | 29.8% ✎ | █·▁▁▃·▁▃▅▇▃▄ beats 13/26 | 4.9% |
| SciQ +1 | 93.1% ✎ | ▁·▁·▁·▃▅▃█▄▁ beats 14/26 | 4.5% |
| PIQA +1 | 77.4% ✎ | ▁·▁··▁▁▃█▅█▂ beats 16/26 | 3.6% |
16 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| TriviaQA lab | 25.9% ✎ | █···█·███··█ beats 4/5 | 3.2% |
| LogiQA (harness) lab | 23.0% ✎ | ······█····· beats 4/5 | 3.0% |
| LAMBADA (OpenAI version), last-word accuracy +1 | 72.0% ✎ | ▁··▂▁▁▁▂▆█▅▃ beats 20/26 | 2.9% |
| CoNLL-2003 English NER, few-shot in-context prompting (entity F1) | 58.1% ✎ | ▃···▅·▃▅··▃█ beats 4/9 | 2.3% |
| ANLI Round 1 (prompted) lab | 34.0% ✎ | █··▃·······▂ beats 4/5 | 2.0% |
| Social IQA | 42.0% ✎ | ▁···▁▃█▁▁▁·▁ beats 11/26 | 1.4% |
| 12-dataset text classification, 4-shot in-context learning (macro-F1 average) | 56.6% ✎ | ▂▂··▂·█···▂▂ beats 3/8 | 1.3% |
| ANLI Round 3 (prompted) lab | 35.4% ✎ | ▃······▃█··▃ beats 3/5 | 1.2% |
| ANLI Round 2 (prompted) lab | 34.3% ✎ | ██·███·····█ beats 4/5 | 1.1% |
| Anthropic HH helpful preference classification (zero-shot) lab | 55.0% ✎ | █········█·█ beats 0/2 | 1.0% |
| QA4MRE 2013 (harness) lab | 36.3% ✎ | ▄····▄█▄···▄ beats 1/5 | 1.0% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 28.3% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 19/276 | 1.0% |
| PROST (harness, micro accuracy) lab | 29.6% ✎ | ▃······█···▅ beats 5/5 | 0.9% |
| SuperGLUE WSC (prompted) lab | 50.0% ✎ | █··········▄ beats 2/5 | 0.6% |
| UD English-GUM UPOS tagging, few-shot structured prompting (accuracy) | 83.6% ✎ | ▄·▄▄·······█ beats 4/4 | 0.6% |
| MenatQA (all factors), exact match, zero-shot | 24.6% ✎ | ▂····▂··▂·█▄ beats 6/8 | 0.4% |
$ 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 GPT-NeoX-20B · needs 15.3 GB memory, 13.1 GB download · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/gpt-neox-20b-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf mradermacher/gpt-neox-20b-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run GPT-NeoX-20B · needs 15.3 GB memory, 13.1 GB download · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/gpt-neox-20b-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 GPT-NeoX-20B · needs 15.3 GB memory, 13.1 GB download · from huggingface.co/mradermacherchat in the terminal
ollama run hf.co/mradermacher/gpt-neox-20b-GGUF:Q4_K_M
MLX (Mac)
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run GPT-NeoX-20B · needs 13.7 GB memory, 11.6 GB download, Mac only · from huggingface.co/nhe-aichat in the terminal
mlx_lm.chat --model nhe-ai/gpt-neox-20b-mlx-4Bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model nhe-ai/gpt-neox-20b-mlx-4Bit
Other ways to run it
- Run it as published · needs 44.9 GB memory, 41.3 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/gpt-neox-20b', 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… 55%, GPT-NeoX-20B: An Open-Source… 38%, Prompting Language Models for… 3% 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
| source | results | share of the score |
|---|---|---|
| 10 | 55% | |
| 16 | 38% | |
| 2 | 3% | |
| 1 | 1% | |
| 1 | 1% | |
| 1 | 1% | |
| 1 | 0% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 27.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