whatmodel.sh / OpenLLaMA 3B v2

OpenLLaMA 3B 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_3b_v2 @bce5d60: licence tag apache-2.0. Released 2023-07: month the maker's Hugging Face repo was created (createdAt 2023-07-16). Pretrained base checkpoint (not an instruct/chat version).

24.6±1.1#701 of 743 LLMsfrom 12 benchmark results across 2 sources

Score within the LMArena (text) comparison set only.

$ how it compares

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

#modelscorewhereRAMreleased
839Pythia 12B EleutherAI25±1local~9.5GB2023-02
840GPT-J 6B EleutherAI25±1local~14GB2021-06
841OpenLLaMA 3B v2 OpenLM Research25±1local~4.2GB2023-07
842ChatGLM-6B Zhipu AI (THUDM)25±1local~16GB2023-03
843StableLM-Base-Alpha 3B v2 Stability AI24±1local~13GB2023-08
more from OpenLM Research
805OpenLLaMA 7B v2 OpenLM Research30±1local~9GB2023-07

see all LLMs · find the ones that fit your machine

$ what it's good at

other tests12 not in a task · 99% of its score
testresultvs the others in its rundifficultycountswhy
ARC Challenge36.1% ✎▁·▁··▁▁▇▃█▆▃ beats 10/26easy · avg 82%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 40%sharp
WinoGrande62.9% ✎▁····▁··▁▃█▄ beats 7/26easy · avg 87%▇▇▇▇▇ 12%at its level
BoolQ65.7% ✎▂▃▂▅▆▂▅▆█▂▂▂ beats 9/26easy · avg 88%▇▇▇▇ 9.5%at its level
HellaSwag70.0% ✎▃···▁▇▅█▇▃▁▁ beats 12/26very easy · avg 91%▇▇▇ 7.9%at its level
ARC Easy63.5% ✎▁▁·▁▁▄▅▄█▅▁▃ beats 10/26easy · avg 85%▇▇▇ 7.1%blunt · at its level
SciQ92.4% ✎▁·▁·▁·▃▅▃█▄▁ beats 12/26very easy · avg 98%▇▇▇ 6.9%blunt
PIQA76.7% ✎▁·▁··▁▁▃█▅█▂ beats 14/26easy · avg 87%▇▇ 5.1%blunt · at its level
LAMBADA (OpenAI version), last-word accuracy66.7% ✎▁··▂▁▁▁▂▆█▅▃ beats 8/26very easy · avg 86%▇ 3.3%blunt · at its level
4 more tests
testresultvs the others in its rundifficultycountswhy
OpenBookQA26.0% ✎█·▁▃▃·▁▃▅▇▃▄ beats 7/26hard · avg 49%▇ 3.1%too hard for it
Social IQA41.2% ✎▁···▁▃█▁▁▁·▁ beats 7/26hard · avg 56%▇ 2.5%blunt
Open PT-LLM Leaderboard average (9 Portuguese tasks)30.6% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 33/276medium · avg 72%▇ 1.6%noisy
TruthfulQA MC234.6% ✎█·█·█▄···▄·█ beats 3/9medium · avg 55%▇ 0.4%blunt · at its level

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

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 3B v2 · needs 4.2 GB memory, 2.58 GB download · from huggingface.co/lstgst
    chat in the terminal
    llama cli -hf lstgst/open_llama_3b_v2-Q4_K_M-GGUF:q4_k_m
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf lstgst/open_llama_3b_v2-Q4_K_M-GGUF:q4_k_m

LM Studio

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

    download it (macOS / Windows / Linux) ↗

  2. Run OpenLLaMA 3B v2 · needs 4.2 GB memory, 2.58 GB download · from huggingface.co/lstgst

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/lstgst/open_llama_3b_v2-Q4_K_M-GGUF@q4_k_m -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 3B v2 · needs 4.2 GB memory, 2.58 GB download · from huggingface.co/lstgst
    chat in the terminal
    ollama run hf.co/lstgst/open_llama_3b_v2-Q4_K_M-GGUF:q4_k_m

Other ways to run it

  1. Run it as published · needs 8.7 GB memory, 6.85 GB download · 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_3b_v2', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"

Model repository and documentation: huggingface.co/openlm-research ↗

$ how the score was worked out · Stability AI — original Stabl… 98%, Open Portuguese LLM Leaderboa… 2%

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 outputs11Apache-2.0
Open Portuguese LLM Leaderboard (archived)1Apache-2.0
prior · pull toward the middle
weighted average= 24.6

$ 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