whatmodel.sh / OPT-6.7B
OPT-6.7B
↗ share
+ contribute
OPT-6.7B is an open-weights language model from Meta, released May 2022. Its published size is 6.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-6.7B, out of 897 with a score, then more from Meta.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 842 | 25±1 | local | |||
| 843 | 24±1 | local | |||
| 844 | 24±1 | local | |||
| 845 | 23±4 | comparison only | |||
| 846 | 23±3 | 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
coding▃▁▁▃▆▇█▆▆▃▃▁ #472 of 474 * · 1.8% of its score · 1 test
Trails GPT-Neo 2.7B, Phi-1 (1.3B), Pythia 6.9B here, though they rank lower overall.
math▁▁▃▅█▆▅█▄▁▁▁ #419 of 440 * · 5.2% of its score · 1 test
Beats Command R (03-2024), Mistral 7B Instruct v0.3, Llama 2 13B Chat here, though they rank higher overall. Trails GPT-Neo 125M, OPT-125M, GPT-2 XL (1.5B) here, though they rank lower overall.
other tests21 not in a task · 93% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| ARC Challenge +3 | 34.8% ✎ | ▁·▁··▁▁▇▂█▆▃ beats 6/26 | 31% |
| WinoGrande +2 | 65.4% ✎ | ▁····▁··▁▂█▄ beats 12/26 | 12% |
| ARC Easy +3 | 60.1% ✎ | ▁▁·▁▁▄▅▄█▅▁▃ beats 6/26 | 11% |
| PIQA +3 | 76.3% ✎ | ▁·▁··▁▁▃█▅█▂ beats 13/26 | 7.3% |
| SciQ +2 | 90.1% ✎ | ▁·▁·▁·▃▅▃█▄▁ beats 6/26 | 5.5% |
| LAMBADA (OpenAI version), last-word accuracy +3 | 67.6% ✎ | ▁··▂▁▁▁▂▆█▅▃ beats 10/26 | 4.3% |
| BoolQ | 66.0% ✎ | ▂▃▂▅▆▂▅▆█▂▂▂ beats 10/26 | 3.4% |
| ImageNetVC visual commonsense, text-only LLM average (0/5-shot) | 48.5% ✎ | ▂·▄·▂█▄▄█▄▂▆ beats 11/21 | 3.2% |
13 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HellaSwag | 67.2% ✎ | ▃···▁▇▅█▇▃▁▁ beats 9/26 | 2.9% |
| Story Cloze Test | 74.6% ✎ | ▂▂▄▂·▂·▆·▃█▂ beats 9/14 | 2.4% |
| BIG-Bench Hard | 28.5% ✎ | █···▄··▄··▄▄ beats 1/5 | 2.1% |
| WebQSP closed-book zero-shot (answer-in-generation accuracy) | 29.8% ✎ | ██···██····█ beats 3/4 | 1.5% |
| OpenBookQA | 27.6% ✎ | █·▁▁▃·▃▃▅▇▃▄ beats 10/26 | 1.1% |
| MMLU | 24.6% ✎ | ▄·▄····▄·▄·█ beats 0/5 | 1.0% |
| Social IQA | 42.6% ✎ | ▁···▁▃█▁▁▁·▁ beats 18/26 | 0.9% |
| COPA | 81.0% ✎ | ▁·▁▁▁▅▅█▆▂▁▁ beats 33/67 | 0.7% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 28.6% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 12/276 | 0.5% |
| Mintaka (English) closed-book zero-shot (answer-in-generation accuracy) | 27.2% ✎ | ▄····▄···▄·█ beats 4/4 | 0.5% |
| MenatQA (all factors), exact match, zero-shot | 16.1% ✎ | ▂····▂··▃·█▄ beats 2/8 | 0.3% |
| SuperGLUE WSC (prompted) | 42.3% ✎ | █·······▂·▂▃ beats 0/8 | 0.2% |
| LogiQA (harness) | 23.5% ✎ | █··········▁ beats 3/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 15.5 GB memory, 13.3 GB download · from huggingface.co/facebook
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='facebook/opt-6.7b', torch_dtype='auto', device_map='auto')('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… 34%, Pythia: A Suite for Analyzing… 18%, GPTQ: Accurate Post-Training… 16% and 8 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