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).
$ how it compares
The LLMs ranked either side of OPT-2.7B, out of 828 with a score, then more from Meta.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 796 | 20±3 | local | |||
| 797 | 20±2 | local | |||
| 798 | 19±1 | local | |||
| 799 | 19±3 | local | |||
| 800 | 18±1 | local | |||
| more from Meta | |||||
| 24 | 77±1 | api $2.00/M | |||
| 40 | 75±1 | api $2.00/M | |||
| 43 | 75±1 | api $2.00/M | |||
$ what it's good at
other tests11 not in a task · 100% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| ARC Challenge +1 | 31.3% ✎ | ▁·▁··▁▃▇▂█▆▃ beats 3/26 | 24% |
| ARC Easy +1 | 54.3% ✎ | ▁▁·▁▃▄▅▄█▅▁▃ beats 3/26 | 15% |
| SciQ +1 | 85.8% ✎ | ▁·▁·▃·▃▅▃█▄▁ beats 2/26 | 14% |
| WinoGrande +1 | 61.0% ✎ | ▁····▁··▁▃█▄ beats 5/26 | 14% |
| PIQA +1 | 73.8% ✎ | ▁·▁··▁▁▃█▅█▂ beats 4/26 | 8.8% |
| BoolQ | 60.3% ✎ | ▂▃▂▅▆▂▅▆█▂▂▂ beats 2/26 | 7.2% |
| LAMBADA (OpenAI version), last-word accuracy +1 | 63.6% ✎ | ▁··▂▁▁▃▂▆█▅▃ beats 5/26 | 6.9% |
| HellaSwag | 60.6% ✎ | ▃···▁▇▅█▇▃▁▁ beats 4/26 | 5.8% |
3 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Social IQA | 40.8% ✎ | ▁···▁▃█▁▁▁·▁ beats 4/26 | 1.6% |
| OpenBookQA | 25.0% ✎ | █·▁▁▃·▁▃▅▇▃▄ beats 1/26 | 1.4% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 27.0% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 14/276 | 0.6% |
$ where to run it
Other ways to run it
- Run it as published · needs ~5.3 GB · 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'])"
Weights and documentation: huggingface.co/facebook ↗
$ how the score was worked out · Stability AI — original Stabl… 65%, Pythia: A Suite for Analyzing… 34%, 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 | 65% | |
| 6 | 34% | |
| 1 | 1% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 19.1 |
$ 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