whatmodel.sh / GPT-2 Large (774M)

GPT-2 Large (774M) is an open-weights language model from OpenAI, released August 2019. Its published size is 0.774B parameters and a 1k-token context window. Licence: mit.

Catalogue identity notes

OpenAI's released GPT-2 checkpoint as hosted at openai-community/gpt2-large (formerly the root-namespace 'gpt2-large' repo). Base (pretrained) model; parameter count as corrected in openai/gpt-2 README.

0.7±1.9#716 of 719 LLMsfrom 14 benchmark results across 5 sources

$ how it compares

The LLMs ranked either side of GPT-2 Large (774M), out of 828 with a score, then more from OpenAI.

#modelscorewhereRAMreleased
823Pythia 160M EleutherAI3±2local~1.6GB2023-02
824OPT-125M Meta3±2local~1.8GB2022-05
825GPT-2 Large (774M) OpenAI1±2local~2GB2019-08
826GPT-2 Medium (355M) OpenAI-1±2local~1.8GB2019-05
827Pythia 70M EleutherAI-7±2local~1.6GB2023-02
more from OpenAI
1GPT-6 Astra OpenAI87±1api $20.00/M2026-09
3GPT-6.1 Sol OpenAI85±1api $4.00/M2026-09
7GPT-6 Sol OpenAI83±1api $4.00/M2026-09

see all LLMs · find the ones that fit your machine

$ what it's good at

other tests14 not in a task · 98% of its score
testresultvs the others in its rundifficultycountswhy
OpenBookQA19.4% ✎█▁▁▁▄▃▃▇▂▁▄▂ beats 6/65very hard · avg 26%▇▇▇▇▇▇▇ 19%too hard for it
ARC Challenge23.1% ✎▆▁▁▂▂▅▇█▄▃▃▂ beats 0/97hard · avg 46%▇▇▇▇▇▇▇ 18%sharp · too hard for it
HellaSwag35.0% ✎▁▁▃▁▂▂▃▇█▆▅▃ beats 2/85easy · avg 88%▇▇▇▇▇ 13%typical
PROST physical reasoning (zero-shot, 10-concept macro average)26.4% ✎█···██·█···█ beats 2/4easy · avg 79%▇▇▇▇▇ 13%too hard for it
CommonsenseQA33.3% ✎█·····█·█··█ beats 2/3easy · avg 83%▇▇▇▇ 10%typical
ARC Easy52.7% ✎▁▂▃▂▃▅▇█▇▆▄▆ beats 12/65very easy · avg 92%▇▇▇▇ 9.0%at its level
COPA69.8% ✎▄·▄·█··▆▂··▂ beats 7/12very easy · avg 96%▇▇▇ 7.7%at its level
Story Cloze Test66.1% ✎█····█···█·█ beats 2/3easy · avg 92%▇▇ 6.1%blunt · at its level
6 more tests
testresultvs the others in its rundifficultycountswhy
COPEN concept identification in context (zero-shot, full prompt)33.8% ✎▃···▃▃·▃·▃·█ beats 3/7hard · avg 44%▇ 1.2%blunt · too hard for it
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy26.5% ✎▁▁▃▁▁▁▁▂▄█▄▃ beats 3/146easy · avg 83%▇ 0.9%too hard for it · noisy
Open PT-LLM Leaderboard average (9 Portuguese tasks)27.4% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 25/276medium · avg 73%▇ 0.8%too hard for it · noisy
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy25.0% ✎▃·▁▁▂▁▂▅█▇▄▁ beats 2/100medium · avg 68%▇ 0.2%too hard for it · noisy
COPEN conceptual similarity judgment (zero-shot, full prompt)11.3% ✎▄···█···██·▄ beats 5/7very hard · avg 11%▇ 0.1%blunt · too hard for it
COPEN conceptual property judgment (zero-shot, full prompt)47.2% ✎█·······▁··▁ beats 4/7very hard · avg 51%▇ 0.0%blunt · too hard for it · noisy

$ where to run it

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-2 Large (774M) · needs ~0.5 GB · from huggingface.co/mradermacher
    chat in the terminal
    llama cli -hf mradermacher/gpt2-large-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf mradermacher/gpt2-large-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-2 Large (774M) · needs ~0.5 GB · from huggingface.co/mradermacher

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/mradermacher/gpt2-large-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-2 Large (774M) · needs ~0.5 GB · from huggingface.co/mradermacher
    chat in the terminal
    ollama run hf.co/mradermacher/gpt2-large-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-2 Large (774M) · needs ~1.5 GB, Mac only · from huggingface.co/MCES10
    chat in the terminal
    mlx_lm.chat --model MCES10/gpt2-large-mlx-fp16
  3. Or start an OpenAI-compatible server at http://localhost:8080/v1
    mlx_lm.server --model MCES10/gpt2-large-mlx-fp16

Other ways to run it

  1. Run it as published · needs ~3.25 GB · from huggingface.co/openai-community
    uv run --with torch --with 'transformers<5' python -c "from transformers import pipeline; print(pipeline('text-generation', model='openai-community/gpt2-large')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"

Weights and documentation: huggingface.co/openai-community ↗

$ how the score was worked out · Surface Form Competition (Hol… 82%, PROST (Aroca-Ouellette et al.… 13%, COPEN — EMNLP 2022 original z… 1% and 2 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