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.
$ how it compares
The LLMs ranked either side of GPT-NeoX-20B, out of 828 with a score, then more from EleutherAI.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 754 | 28±1 | local | |||
| 755 | 28±2 | local | |||
| 756 | 28±1 | local | |||
| 757 | 28±1 | comparison only | |||
| 758 | 28±1 | comparison only | |||
| more from EleutherAI | |||||
| 777 | 25±1 | local | |||
| 780 | 25±1 | local | |||
| 787 | 23±1 | local | |||
$ what it's good at
other tests12 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 | 38% |
| WinoGrande +1 | 66.1% ✎ | ▁····▁··▁▂█▄ beats 15/26 | 13% |
| HellaSwag +1 | 71.4% ✎ | ▃···▁▇▅█▇▃▁▁ beats 14/26 | 7.9% |
| ARC Easy +1 | 68.7% ✎ | ▁▁·▁▁▄▅▄█▅▁▃ beats 15/26 | 7.3% |
| BoolQ | 69.5% ✎ | ▂▃▂▅▆▂▅▆█▂▂▂ beats 12/26 | 6.7% |
| SciQ +1 | 93.1% ✎ | ▁·▁·▁·▃▅▃█▄▁ beats 14/26 | 5.8% |
| OpenBookQA +1 | 29.8% ✎ | █·▁▁▃·▁▃▅▇▃▄ beats 13/26 | 5.7% |
| TriviaQA lab | 25.9% ✎ | █···█·███··█ beats 4/5 | 4.4% |
4 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| PIQA +1 | 77.4% ✎ | ▁·▁··▁▁▃█▅█▂ beats 16/26 | 4.4% |
| LAMBADA (OpenAI version), last-word accuracy +1 | 72.0% ✎ | ▁··▂▁▁▁▂▆█▅▃ beats 20/26 | 3.6% |
| Social IQA | 42.0% ✎ | ▁···▁▃█▁▁▁·▁ beats 11/26 | 1.7% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 28.3% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 19/276 | 0.8% |
$ 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 GPT-NeoX-20B · needs ~13.1 GB · 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 ~13.1 GB · 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 ~13.1 GB · 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 ~11.6 GB, 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 ~41.29 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/gpt-neox-20b', 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… 67%, GPT-NeoX-20B: An Open-Source… 32%, Open Portuguese LLM Leaderboa… 1%
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 | 67% | |
| 9 | 32% | |
| 1 | 1% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 28.0 |
$ 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