whatmodel.sh / OpenLLaMA 7B v2

OpenLLaMA 7B v2 is an open-weights language model from OpenLM Research, released July 2023. Licence: apache-2.0.

Catalogue identity notes

Maker repo openlm-research/open_llama_7b_v2 @e5961de: licence tag apache-2.0. Released 2023-07: month the maker's Hugging Face repo was created (createdAt 2023-07-06). Pretrained base checkpoint (not an instruct/chat version).

28.9±0.9#649 of 719 LLMsfrom 12 benchmark results across 2 sources

$ how it compares

The LLMs ranked either side of OpenLLaMA 7B v2, out of 828 with a score, then more from OpenLM Research.

#modelscorewhereRAMreleased
746StableLM-3B-4E1T Stability AI29±1local~3.3GB2023-09
747Gemma 2B (base) Google29±1local~3.2GB2024-02
748OpenLLaMA 7B v2 OpenLM Research29±1local~9.1GB2023-07
749Gemma 1.1 2B IT Google29±1local~3.2GB2024-04
750StableLM-Base-Alpha 7B v2 Stability AI29±1local~30GB2023-08
more from OpenLM Research
781OpenLLaMA 3B v2 OpenLM Research25±1local~4.2GB2023-07

see all LLMs · find the ones that fit your machine

$ what it's good at

other tests12 not in a task · 100% of its score
testresultvs the others in its rundifficultycountswhy
ARC Challenge42.4% ✎▁·▁··▁▁▇▂█▆▃ beats 17/26easy · avg 85%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 46%sharp
WinoGrande65.8% ✎▁····▁··▁▂█▄ beats 13/26easy · avg 89%▇▇▇▇▇ 12%at its level
BoolQ71.4% ✎▂▃▂▅▆▂▅▆█▂▂▂ beats 15/26easy · avg 91%▇▇▇▇ 10%at its level
ARC Easy69.7% ✎▁▁·▁▁▄▅▄█▅▁▃ beats 18/26easy · avg 88%▇▇▇ 6.9%at its level
HellaSwag74.6% ✎▃···▁▇▅█▇▃▁▁ beats 18/26very easy · avg 92%▇▇ 5.6%at its level
SciQ93.8% ✎▁·▁·▁·▃▅▃█▄▁ beats 19/26very easy · avg 98%▇▇ 5.4%typical
PIQA79.2% ✎▁·▁··▁▁▃█▅█▂ beats 23/26easy · avg 88%▇▇ 4.4%blunt · at its level
OpenBookQA30.2% ✎█·▁▁▃·▁▃▅▇▃▄ beats 14/26medium · avg 53%▇ 3.5%too hard for it
4 more tests
testresultvs the others in its rundifficultycountswhy
LAMBADA (OpenAI version), last-word accuracy71.0% ✎▁··▂▁▁▁▂▆█▅▃ beats 18/26very easy · avg 89%▇ 2.6%blunt · at its level
Social IQA42.0% ✎▁···▁▃█▁▁▁·▁ beats 10/26medium · avg 59%▇ 2.5%blunt
Open PT-LLM Leaderboard average (9 Portuguese tasks)39.2% ✎▃▁▁▁▁▃▁▁▂█▅▁ beats 47/276medium · avg 73%▇ 1.1%noisy
TruthfulQA MC234.6% ✎█·█·█▄···▄·█ beats 2/9medium · avg 61%▇ 0.5%blunt · at its level

$ where to run it

llama.cpp · recommended

  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 OpenLLaMA 7B v2 · needs ~7.2 GB · from huggingface.co/exocet25
    chat in the terminal
    llama cli -hf exocet25/open_llama_7b_v2-Q8_0-GGUF:q8_0
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf exocet25/open_llama_7b_v2-Q8_0-GGUF:q8_0

LM Studio

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run OpenLLaMA 7B v2 · needs ~7.2 GB · from huggingface.co/exocet25

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/exocet25/open_llama_7b_v2-Q8_0-GGUF@q8_0 -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run OpenLLaMA 7B v2 · needs ~7.2 GB · from huggingface.co/exocet25
    chat in the terminal
    ollama run hf.co/exocet25/open_llama_7b_v2-Q8_0-GGUF:q8_0

Other ways to run it

  1. Run it as published · needs ~13.48 GB · from huggingface.co/openlm-research (official)
    uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='openlm-research/open_llama_7b_v2', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"

Official weights and documentation: huggingface.co/openlm-research ↗

$ how the score was worked out · Stability AI — original Stabl… 98%, 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

sourceresultsshare of the scorelicence
Stability AI — original StableLM zero-shot evaluation outputs11▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 98%Apache-2.0
Open Portuguese LLM Leaderboard (archived)1▇ 1%Apache-2.0
prior · pull toward the middle▇ 0%
weighted average= 28.9

$ 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