whatmodel.sh / OPT-2.7B

OPT-2.7B is an open-weights language model from Meta, released May 2022. Its published size is 2.7B parameters and a 2k-token context window. Licence: opt-175b-license-noncommercial.

Catalogue identity notes

Meta's Open Pre-trained Transformer base model as released on Hugging Face (weights under Meta's non-commercial OPT licence).

18.6±0.7#715 of 743 LLMsfrom 40 benchmark results across 9 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of OPT-2.7B, out of 897 with a score, then more from Meta.

#modelscorewhereRAMreleased
857Pythia 2.8B (deduped) EleutherAI20±1local~3.4GB2023-02
858Falcon-RW 1B TII20±2local~4.3GB2023-04
859OPT-2.7B Meta19±1local~7.1GB2022-05
860GPT-Neo 2.7B EleutherAI18±1local~13GB2021-03
861StableLM-Tuned-Alpha 7B Stability AI18±2local~6.8GB2023-04
more from Meta
10Muse Wonder Full Meta81±1Muse Code only2026-10
20Muse Wonder Meta78±1api $8.00/M2026-10
31Muse Ember Meta76±1api $0.20/M2026-11

see all LLMs · find the ones that fit your machine

$ what it's good at

math▁▁▃▅█▆▅█▄▁▁▁ #352 of 440 * · 0.7% of its score · 1 test

Beats Athene-70B, Hermes 2 Theta Llama-3 70B, Gemma 2 9B IT here, though they rank higher overall.

testresultvs the others in its rundifficultycountswhy
MathQA23.8% ✎▃·▃▃█▅··▃·▃▃ beats 4/10hard · avg 33%▇ 0.7%blunt · too hard for it
other tests20 not in a task · 99% of its score
testresultvs the others in its rundifficultycountswhy
ARC Challenge +431.3% ✎▁·▁··▁▃▇▂█▆▃ beats 3/26easy · avg 82%▇▇▇▇▇▇▇▇▇▇ 26%sharp · too hard for it · several runs
ARC Easy +454.3% ✎▁▁·▁▃▄▅▄█▅▁▃ beats 3/26easy · avg 87%▇▇▇▇▇▇ 15%blunt · at its level · several runs
WinoGrande +261.0% ✎▁····▁··▁▃█▄ beats 5/26easy · avg 88%▇▇▇▇▇ 12%several runs
PIQA +373.8% ✎▁·▁··▁▁▃█▅█▂ beats 4/26easy · avg 87%▇▇▇ 8.6%blunt · at its level · several runs
SciQ +285.8% ✎▁·▁·▃·▃▅▃█▄▁ beats 2/26very easy · avg 98%▇▇▇ 7.9%blunt · several runs
HellaSwag +160.6% ✎▃···▁▇▅█▇▃▁▁ beats 4/26very easy · avg 91%▇▇▇ 6.7%at its level · several runs
LAMBADA (OpenAI version), last-word accuracy +363.6% ✎▁··▂▁▁▃▂▆█▅▃ beats 5/26very easy · avg 87%▇▇ 5.4%blunt · at its level · several runs
ImageNetVC visual commonsense, text-only LLM average (0/5-shot)45.8% ✎▂·▄·▂█▄▄█▄▂▆ beats 9/21easy · avg 74%▇ 3.5%blunt · at its level
12 more tests
testresultvs the others in its rundifficultycountswhy
BoolQ +160.3% ✎▂▃▂▅▆▂▅▆█▂▂▂ beats 2/26easy · avg 88%▇ 3.5%at its level
Story Cloze Test71.7% ✎▂▂▄▂·▂·▆·▂█▂ beats 7/14easy · avg 89%▇ 2.8%blunt · at its level
TriviaQA21.4% ✎▁▁▂▂▄▄▃▆▅█▅▂ beats 24/80easy · avg 77%▇ 2.0%small run
COPA +177.0% ✎▁·▁▁▁▅▅█▆▂▁▁ beats 26/67very easy · avg 96%▇ 1.8%at its level
WebQSP closed-book zero-shot (answer-in-generation accuracy)19.9% ✎██···██····█ beats 0/4easy · avg 66%▇ 1.6%typical
Social IQA40.8% ✎▁···▁▃█▁▁▁·▁ beats 4/26hard · avg 56%▇ 0.9%blunt
OpenBookQA25.0% ✎█·▁▁▃·▁▃▅▇▃▄ beats 1/26hard · avg 49%▇ 0.8%too hard for it
Mintaka (English) closed-book zero-shot (answer-in-generation accuracy)19.8% ✎▄····▄···▄·█ beats 1/4medium · avg 48%▇ 0.6%blunt
Open PT-LLM Leaderboard average (9 Portuguese tasks)27.0% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 14/276medium · avg 72%▇ 0.5%noisy
PubMedQA60.8% ✎▂·····▅█▅▆▆█ beats 11/24medium · avg 73%▇ 0.2%blunt · at its level
SuperGLUE WSC (prompted)63.5% ✎█·······▂·▂▃ beats 8/8medium · avg 68%▇ 0.2%blunt · noisy
LogiQA (harness)21.0% ✎█··········▁ beats 4/14very hard · avg 25%▇ 0.0%too hard for it · noisy

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

Other ways to run it

  1. Run it as published · needs 7.1 GB memory, 5.3 GB download · from huggingface.co/facebook
    uv run --with torch --with 'transformers<5' python -c "from transformers import pipeline; print(pipeline('text-generation', model='facebook/opt-2.7b')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"

Model repository and documentation: huggingface.co/facebook ↗

$ how the score was worked out · Stability AI — original Stabl… 33%, Pythia: A Suite for Analyzing… 18%, GPTQ: Accurate Post-Training… 15% and 6 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

not counted (2)

Adapting Language Models to Compress Contexts — authors' own runsBoolQ [correct]55.8%the only model in this source's run of the test, so there is nothing to compare it with there; another run of the test counts
Adapting Language Models to Compress Contexts — authors' own runsCOPA [correct]66.8%the only model in this source's run of the test, so there is nothing to compare it with there; another run of the test counts

$ 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