whatmodel.sh / OPT-2.7B
OPT-2.7B
↗ share
+ contribute
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).
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.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 857 | 20±1 | local | |||
| 858 | 20±2 | local | |||
| 859 | 19±1 | local | |||
| 860 | 18±1 | local | |||
| 861 | 18±2 | local | |||
| more from Meta | |||||
| 10 | 81±1 | Muse Code only | |||
| 20 | 78±1 | api $8.00/M | |||
| 31 | 76±1 | api $0.20/M | |||
$ 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.
other tests20 not in a task · 99% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| ARC Challenge +4 | 31.3% ✎ | ▁·▁··▁▃▇▂█▆▃ beats 3/26 | 26% |
| ARC Easy +4 | 54.3% ✎ | ▁▁·▁▃▄▅▄█▅▁▃ beats 3/26 | 15% |
| WinoGrande +2 | 61.0% ✎ | ▁····▁··▁▃█▄ beats 5/26 | 12% |
| PIQA +3 | 73.8% ✎ | ▁·▁··▁▁▃█▅█▂ beats 4/26 | 8.6% |
| SciQ +2 | 85.8% ✎ | ▁·▁·▃·▃▅▃█▄▁ beats 2/26 | 7.9% |
| HellaSwag +1 | 60.6% ✎ | ▃···▁▇▅█▇▃▁▁ beats 4/26 | 6.7% |
| LAMBADA (OpenAI version), last-word accuracy +3 | 63.6% ✎ | ▁··▂▁▁▃▂▆█▅▃ beats 5/26 | 5.4% |
| ImageNetVC visual commonsense, text-only LLM average (0/5-shot) | 45.8% ✎ | ▂·▄·▂█▄▄█▄▂▆ beats 9/21 | 3.5% |
12 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BoolQ +1 | 60.3% ✎ | ▂▃▂▅▆▂▅▆█▂▂▂ beats 2/26 | 3.5% |
| Story Cloze Test | 71.7% ✎ | ▂▂▄▂·▂·▆·▂█▂ beats 7/14 | 2.8% |
| TriviaQA | 21.4% ✎ | ▁▁▂▂▄▄▃▆▅█▅▂ beats 24/80 | 2.0% |
| COPA +1 | 77.0% ✎ | ▁·▁▁▁▅▅█▆▂▁▁ beats 26/67 | 1.8% |
| WebQSP closed-book zero-shot (answer-in-generation accuracy) | 19.9% ✎ | ██···██····█ beats 0/4 | 1.6% |
| Social IQA | 40.8% ✎ | ▁···▁▃█▁▁▁·▁ beats 4/26 | 0.9% |
| OpenBookQA | 25.0% ✎ | █·▁▁▃·▁▃▅▇▃▄ beats 1/26 | 0.8% |
| Mintaka (English) closed-book zero-shot (answer-in-generation accuracy) | 19.8% ✎ | ▄····▄···▄·█ beats 1/4 | 0.6% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 27.0% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 14/276 | 0.5% |
| PubMedQA | 60.8% ✎ | ▂·····▅█▅▆▆█ beats 11/24 | 0.2% |
| SuperGLUE WSC (prompted) | 63.5% ✎ | █·······▂·▂▃ beats 8/8 | 0.2% |
| LogiQA (harness) | 21.0% ✎ | █··········▁ beats 4/14 | 0.0% |
$ 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
- 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 runs | BoolQ [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 runs | COPA [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