whatmodel.sh / Llama 2 13B (base)

Llama 2 13B (base) is an open-weights language model from Meta, released July 2023. Its published size is 13B parameters and a 4k-token context window. Licence: llama2.

Catalogue identity notes

Pretrained (not chat) Llama 2 checkpoint; the chat models are separate identities (llama-2-*-chat). Ollama 'text' tags are the pretrained model.

35.5±0.6#632 of 743 LLMsfrom 55 benchmark results across 10 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Llama 2 13B (base), out of 897 with a score, then more from Meta.

#modelscorewhereRAMreleased
747Qwen3 0.6B Alibaba36±1local~1.9GB2025-04
748Code Llama 7B (base) Meta36±1local~5.5GB2023-08
749Llama 2 13B (base) Meta36±1local~9.2GB2023-07
750Llama 2 13B Chat Meta35±1local~15GB2023-07
751Zephyr 7B beta Hugging Face35±1local~6.1GB2023-10
more from Meta
10Muse Wonder Full Meta81±1Muse Code only2026-10
20Muse Wonder Meta78±1api $8.00/M2026-10
31Muse Ember Meta76±1api $0.20/M2026-11

see all LLMs · find the ones that fit your machine

$ what it's good at

coding▁▁▃▃▆▇█▆▆▃▃▁ #457 of 474 · 15% of its score · 3 tests

Beats Molmo 7B-D (0924), Tulu 2 7B, DeepSeek R1 Distill Qwen 1.5B here, though they rank higher overall. Trails Falcon3 1B Instruct, Granite 3.0 1B-A400M Instruct, StarCoderBase 3B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
HumanEval +218.9% ✎█···█·███··█ beats 1/5medium · avg 61%▇▇▇▇ 8.8%sharp · several runs
MBPP +235.4% ✎▄··▄·▄··█··▄ beats 1/5easy · avg 69%▇▇ 4.4%at its level · several runs
Tulu 2: CodexEval pass@1032.5% ✎▃▃▃·▆▃▃█▃▂▂▅ beats 2/25easy · avg 84%▇ 2.2%sharp · at its level
math▁▁▃▅█▆▅█▄▁▁▁ #341 of 440 · 12% of its score · 2 tests

Beats GPT-4 (0613), Athene-70B, Gemma 2 27B IT here, though they rank higher overall. Trails Gemma 2B (base), Stable Code 3B, Zephyr 7B beta here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K +325.0% ✎▆▂▅█▅▅▃▆···▂ beats 7/25easy · avg 82%▇▇▇▇ 9.2%sharp · at its level · several runs
MATH +16.0% ✎█·█·█·██···█ beats 1/5hard · avg 28%▇ 2.5%several runs
other tests23 not in a task · 73% of its score
testresultvs the others in its rundifficultycountswhy
ARC Challenge +349.2% ✎▁·▁··▁▁▇▂█▆▃ beats 25/26easy · avg 82%▇▇▇▇▇▇▇▇▇▇ 25%sharp · at its level · several runs
MMLU +352.0% ✎▁▁▃▃▄█▄▁█··▁ beats 12/25easy · avg 82%▇▇▇ 8.2%at its level · several runs
BIG-Bench Hard +148.9% ✎▁·····▂█▂▅·▁ beats 9/25medium · avg 65%▇▇▇ 7.1%sharp · several runs
WinoGrande +272.2% ✎▁····▁··▁▂█▄ beats 24/26easy · avg 87%▇▇▇ 6.3%at its level · several runs
Natural Questions (closed book) +232.2% ✎▁·▁·▁▂▁▂·▅▂█ beats 28/28medium · avg 49%▇▇ 5.0%several runs
HellaSwag +279.4% ✎▃···▁▇▅█▇▃▁▁ beats 23/26very easy · avg 91%▇ 3.6%at its level · several runs
TriviaQA +29.5% ✎▁··▁█▃▃▁▄▅▄█ beats 5/28easy · avg 83%▇ 2.7%at its level · several runs
ARC Easy +277.6% ✎▁▁·▁▁▄▅▄█▅▁▃ beats 25/26easy · avg 85%▇ 2.6%blunt · at its level · several runs
15 more tests
testresultvs the others in its rundifficultycountswhy
BoolQ80.5% ✎▂▃▂▅▆▂▅▆█▂▃▂ beats 25/26easy · avg 88%▇ 2.4%at its level
PIQA +279.1% ✎▁·▁··▁▁▃█▅█▂ beats 22/26easy · avg 87%▇ 1.9%blunt · at its level · several runs
OpenBookQA35.4% ✎█·▁▁▃·▁▃▅▇▃▄ beats 24/26hard · avg 49%▇ 1.6%typical
VEC embodied concepts, zero-shot perplexity probing (average)54.6% ✎▁····▁▁·▁·▃█ beats 4/11hard · avg 63%▇ 1.4%typical
SciQ94.5% ✎▁·▁·▁·▃▅▃█▄▁ beats 22/26very easy · avg 98%▇ 1.0%blunt · maxed out
Social IQA42.8% ✎▁···▁▃█▃▁▁·▁ beats 20/26hard · avg 56%▇ 0.8%blunt
LAMBADA (OpenAI version), last-word accuracy76.8% ✎▁··▂▁▁▁▂▆█▅▃ beats 26/26very easy · avg 86%▇ 0.6%blunt
Open PT-LLM Leaderboard average (9 Portuguese tasks)57.5% ✎▃▁▁▁▁▁▁▁▃█▅▁ beats 83/276medium · avg 72%▇ 0.6%at its level · noisy
C-Eval37.3% ✎▁···▁▃▂▁▂▂▃█ beats 2/33medium · avg 59%▇ 0.6%noisy
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy74.0% ✎▁▁▁▁▁▁▁▂▄█▄▃ beats 47/146easy · avg 82%▇ 0.5%at its level · noisy
Tulu 2: TyDiQA gold passage, 1-shot F156.5% ✎▂··▁▃▂▂▂█▅▁▂ beats 21/25medium · avg 59%▇ 0.5%blunt · at its level
HaluEval QA hallucination detection (accuracy)70.0% ✎█▁▁·▁▁·▁▁▁▁▃ beats 27/27hard · avg 66%▇ 0.2%noisy
COPA85.0% ✎▅·▃·▃··█▃··▃ beats 6/8easy · avg 92%▇ 0.1%at its level · noisy
TruthfulQA MC236.9% ✎▅▃█▆▁▂▅···▁▁ beats 5/31medium · avg 57%▇ 0.1%blunt · at its level
VEC visual concepts, zero-shot perplexity probing (average)62.8% ✎▅▅▃█·▃··▃·▃▃ beats 4/11hard · avg 66%▇ 0.0%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

version

  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 Llama 2 13B (base) · needs 9.8 GB memory, 7.87 GB download · from huggingface.co/TheBloke
    chat in the terminal
    llama cli -hf TheBloke/Llama-2-13B-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf TheBloke/Llama-2-13B-GGUF:Q4_K_M

LM Studio

version

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

    download it (macOS / Windows / Linux) ↗

  2. Run Llama 2 13B (base) · needs 9.8 GB memory, 7.87 GB download · from huggingface.co/TheBloke

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/TheBloke/Llama-2-13B-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 Llama 2 13B (base) · needs 9.2 GB memory, 7.37 GB download · from ollama.com
    chat in the terminal
    ollama run llama2:13b-text

Model repository and documentation: huggingface.co/meta-llama ↗

$ how the score was worked out · Stability AI — original Stabl… 32%, Mixtral of Experts — base-mod… 24%, MiniCPM: Unveiling the Potent… 15% and 7 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