whatmodel.sh / GPT-NeoX-20B

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.

27.8±0.8#688 of 743 LLMsfrom 32 benchmark results across 7 sources

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.

#modelscorewhereRAMreleased
820UL2 20B Google28±3comparison only2022-05
821Granite 4.0 350M IBM28±1local~1.7GB2025-10
822GPT-NeoX-20B EleutherAI28±1local~14GB2022-02
823Qwen2 0.5B Instruct Alibaba28±2local~1GB2024-06
824RedPajama-INCITE 7B Base Together28±1local~16GB2023-06
more from EleutherAI
839Pythia 12B EleutherAI25±1local~9.5GB2023-02
840GPT-J 6B EleutherAI25±1local~14GB2021-06
848Pythia 6.9B EleutherAI23±1local~6.1GB2023-02

see all LLMs · find the ones that fit your machine

$ what it's good at

other tests24 not in a task · 100% of its score
testresultvs the others in its rundifficultycountswhy
ARC Challenge +140.8% ✎▁·▁··▁▁▇▂█▆▃ beats 15/26easy · avg 82%▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 34%sharp · several runs
WinoGrande +166.1% ✎▁····▁··▁▂█▄ beats 15/26easy · avg 87%▇▇▇▇ 11%at its level · several runs
HellaSwag +171.4% ✎▃···▁▇▅█▇▃▁▁ beats 14/26very easy · avg 91%▇▇▇ 7.4%at its level · several runs
ARC Easy +168.7% ✎▁▁·▁▁▄▅▄█▅▁▃ beats 15/26easy · avg 85%▇▇ 5.3%blunt · at its level · several runs
BoolQ69.5% ✎▂▃▂▅▆▂▅▆█▂▂▂ beats 12/26easy · avg 88%▇▇ 5.0%at its level
OpenBookQA +129.8% ✎█·▁▁▃·▁▃▅▇▃▄ beats 13/26hard · avg 50%▇▇ 4.9%too hard for it · several runs
SciQ +193.1% ✎▁·▁·▁·▃▅▃█▄▁ beats 14/26very easy · avg 98%▇▇ 4.5%blunt · several runs
PIQA +177.4% ✎▁·▁··▁▁▃█▅█▂ beats 16/26easy · avg 87%▇ 3.6%blunt · at its level · several runs
16 more tests
testresultvs the others in its rundifficultycountswhy
TriviaQA lab25.9% ✎█···█·███··█ beats 4/5easy · avg 68%▇ 3.2%at its level
LogiQA (harness) lab23.0% ✎······█····· beats 4/5very hard · avg 25%▇ 3.0%too hard for it
LAMBADA (OpenAI version), last-word accuracy +172.0% ✎▁··▂▁▁▁▂▆█▅▃ beats 20/26very easy · avg 86%▇ 2.9%blunt · at its level · several runs
CoNLL-2003 English NER, few-shot in-context prompting (entity F1)58.1% ✎▃···▅·▃▅··▃█ beats 4/9very easy · avg 85%▇ 2.3%at its level
ANLI Round 1 (prompted) lab34.0% ✎█··▃·······▂ beats 4/5hard · avg 46%▇ 2.0%sharp · too hard for it · noisy
Social IQA42.0% ✎▁···▁▃█▁▁▁·▁ beats 11/26hard · avg 56%▇ 1.4%blunt
12-dataset text classification, 4-shot in-context learning (macro-F1 average)56.6% ✎▂▂··▂·█···▂▂ beats 3/8easy · avg 79%▇ 1.3%blunt · at its level
ANLI Round 3 (prompted) lab35.4% ✎▃······▃█··▃ beats 3/5hard · avg 43%▇ 1.2%too hard for it
ANLI Round 2 (prompted) lab34.3% ✎██·███·····█ beats 4/5very hard · avg 43%▇ 1.1%too hard for it · noisy
Anthropic HH helpful preference classification (zero-shot) lab55.0% ✎█········█·█ beats 0/2hard · avg 65%▇ 1.0%small run
QA4MRE 2013 (harness) lab36.3% ✎▄····▄█▄···▄ beats 1/5medium · avg 57%▇ 1.0%blunt · at its level
Open PT-LLM Leaderboard average (9 Portuguese tasks)28.3% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 19/276medium · avg 72%▇ 1.0%noisy
PROST (harness, micro accuracy) lab29.6% ✎▃······█···▅ beats 5/5very hard · avg 35%▇ 0.9%blunt · too hard for it
SuperGLUE WSC (prompted) lab50.0% ✎█··········▄ beats 2/5hard · avg 62%▇ 0.6%blunt
UD English-GUM UPOS tagging, few-shot structured prompting (accuracy)83.6% ✎▄·▄▄·······█ beats 4/4very easy · avg 92%▇ 0.6%blunt
MenatQA (all factors), exact match, zero-shot24.6% ✎▂····▂··▂·█▄ beats 6/8medium · avg 36%▇ 0.4%blunt

$ 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 GPT-NeoX-20B · needs 15.3 GB memory, 13.1 GB download · from huggingface.co/mradermacher
    chat in the terminal
    llama cli -hf mradermacher/gpt-neox-20b-GGUF:Q4_K_M
  3. 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

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run GPT-NeoX-20B · needs 15.3 GB memory, 13.1 GB download · from huggingface.co/mradermacher

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/mradermacher/gpt-neox-20b-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 GPT-NeoX-20B · needs 15.3 GB memory, 13.1 GB download · from huggingface.co/mradermacher
    chat in the terminal
    ollama run hf.co/mradermacher/gpt-neox-20b-GGUF:Q4_K_M

MLX (Mac)

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run GPT-NeoX-20B · needs 13.7 GB memory, 11.6 GB download, Mac only · from huggingface.co/nhe-ai
    chat in the terminal
    mlx_lm.chat --model nhe-ai/gpt-neox-20b-mlx-4Bit
  3. 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

  1. 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

$ 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