whatmodel.sh / Llama 2 7B Chat

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

Catalogue identity notes

Comparison model from the Epoch AI internal-evaluation CSVs (Epoch release date 2023-07-18). Chat checkpoint Llama-2-7b-chat (not the base model). 6,738,417,664 parameters (safetensors metadata of the -hf repo).

31.9±0.9#661 of 743 LLMsfrom 30 benchmark results across 19 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Llama 2 7B Chat, out of 897 with a score, then more from Meta.

#modelscorewhereRAMreleased
784LLaMA 13B Meta32±1comparison only2023-02
785Qwen-7B-Chat Alibaba32±1local~6.6GB2023-08
786Llama 2 7B Chat Meta32±1local~8.5GB2023-07
787Llama 2 7B (base) Meta32±1local~8.5GB2023-07
788Koala 13B UC Berkeley (BAIR)32±1comparison only2023-04
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▁▃▁▃▆▇█▆▆▃▃▁ #467 of 474 * · 4.9% of its score · 1 test

Beats Molmo 7B-D (0924), DeepSeek R1 Distill Qwen 1.5B here, though they rank higher overall. Trails Phi-1 (1.3B), Pythia 6.9B, GPT-J 6B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
Tulu 2: CodexEval pass@1024.0% ✎▃▃▃·▆▃▃█▃▂▂▅ beats 0/25easy · avg 84%▇▇ 4.9%sharp · at its level
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #389 of 405 · 35% of its score · 7 tests

Beats Phi-2 (2.7B), Nous-Hermes-13b, Qwen1.5 4B Chat here, though they rank higher overall. Trails Gemma 3 270M IT, SmolLM2 360M Instruct, Granite 4.0 350M here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
AlpacaEval 2 length-controlled5.3% ✎▁▂▃▃▆▆█▆▄▄▁▁ beats 8/122medium · avg 36%▇▇▇ 8.3%sharp · too hard for it
LMArena (text)1108.0 ✎▁▁▁▃▃▂▃▆▆▇█▃ beats 16/388avg 1262▇▇▇ 7.4%blunt
Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024)1036.0 ✎▂▁▂▁▃▇█▆▇▄▂▂ beats 21/95avg 1189▇▇▇ 7.1%typical
MT-Bench (GPT-4 single-answer grading, LMSYS runs)6.2700 MT-Bench score (1-10) ✎▆▂▂▆▆▄██▂▄▄▆ beats 14/28avg 8.567 MT-Bench score (1-10)▇▇ 5.5%sharp · noisy
Arena-Hard (v0.1, GPT-4-1106 judge)4.6% ✎▃▁▁▅█▅▄▃▃▅▃▁ beats 2/60medium · avg 47%▇ 2.4%sharp · too hard for it
AlpacaEval 1.0 win rate (vs text-davinci-003, GPT-4 judge)71.4% ✎▂▂·▆·▇▃▆█▆▄▂ beats 16/45very easy · avg 94%▇ 2.1%sharp · at its level · noisy
Arabic IFEval prompt-level (Inception)0.7% ✎▃·▁▁▂▁▄▄▆▄█▄ beats 0/38medium · avg 46%▇ 1.9%sharp · too hard for it
math▁▁▃▅█▆▅█▄▁▁▁ #377 of 440 * · 3.7% of its score · 1 test

Beats GPT-3.5 Turbo (0125), DBRX Instruct, Command R Plus (04-2024) here, though they rank higher overall. Trails OPT-1.3B, OPT-2.7B, Gemma 2B (base) here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K12.0% ✎▆▂▅█▅▅▃▆···▂ beats 3/25easy · avg 72%▇ 3.7%sharp
other tests21 not in a task · 56% of its score
testresultvs the others in its rundifficultycountswhy
LiveBench 2024-07-2611.6% ✎▁▁▁▃▂▃▂█▆▃▅▃ beats 6/61medium · avg 39%▇▇▇▇▇ 13%typical
WildBench v2 WB-Score (task macro)8.2621 WB-Score ✎▁·▁▃·▃█▄▇▆▅▆ beats 2/52avg 43.352 WB-Score▇▇▇ 8.2%sharp
BIG-Bench Hard25.6% ✎▃·····▂█▂▅·▁ beats 0/25easy · avg 74%▇▇▇ 6.5%sharp
Natural Questions (closed book)23.7% ✎▁·▁·▁▂▁▂·▅▃█ beats 18/28medium · avg 49%▇▇ 6.0%typical
Open Persian LLM Leaderboard v2 average (21 tasks)31.7% ✎▃▄▂▃█▄▃▆▃▅▂▂ beats 2/81medium · avg 57%▇ 3.3%blunt · at its level
MMLU46.8% ✎▁▁▃▃▄█▄▁█··▁ beats 7/25medium · avg 73%▇ 3.2%typical
BRIDGE clinical text, zero-shot average (87 tasks)16.5% ✎▁▁▁▃▁▂▂▃▄▆█▃ beats 6/97hard · avg 32%▇ 2.9%blunt
VEC embodied concepts, zero-shot perplexity probing (average)56.7% ✎▁····▁▁·▁·▃█ beats 11/11hard · avg 63%▇ 2.8%typical
13 more tests
testresultvs the others in its rundifficultycountswhy
EQ-Bench v1 (60 questions, paper run)25.4% ✎▂··▄·▂▆▄▂█·▂ beats 2/14medium · avg 54%▇ 2.6%at its level
HaluEval knowledge-grounded dialogue hallucination recognition (accuracy)44.0% ✎█·········▄▄ beats 0/3medium · avg 68%▇ 1.4%sharp · too hard for it · noisy
Open PT-LLM Leaderboard average (9 Portuguese tasks)52.2% ✎▃▁▁▁▁▁▁▃▂█▅▁ beats 72/276medium · avg 72%▇ 1.3%noisy
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy54.3% ✎▁▁▁▁▁▁▁▃▄█▄▃ beats 25/146easy · avg 82%▇ 1.2%at its level · noisy
Tulu 2: TyDiQA gold passage, 1-shot F122.7% ✎▃··▁▃▂▂▂█▅▁▂ beats 0/25medium · avg 59%▇ 1.1%blunt · at its level
Vectara hallucination leaderboard, 2025 dataset (HHEM-2.3, factual consistency rate)88.7% ✎▁▁▂▃▄▄█▆▃▂▂▁ beats 19/140very easy · avg 94%▇ 1.1%blunt · noisy
TriviaQA8.8% ✎▁··▁█▃▃▁▄▅▄█ beats 3/28easy · avg 74%▇ 0.9%at its level · noisy
HaluEval QA hallucination detection (accuracy)52.3% ✎█▁▁·▁▃·▁▁▁▁▁ beats 20/27hard · avg 66%▇ 0.4%too hard for it · noisy
HaluEval QA hallucination recognition, original paper protocol (accuracy)49.6% ✎█··········▃ beats 0/3very hard · avg 56%▇ 0.3%too hard for it · noisy
TruthfulQA MC245.3% ✎▅▃█▆▁▂▅···▁▁ beats 20/31medium · avg 57%▇ 0.2%blunt · at its level
VEC visual concepts, zero-shot perplexity probing (average)63.8% ✎▅▅▃█·▃··▃·▃▃ beats 7/11hard · avg 66%▇ 0.0%blunt · at its level
Chess Puzzles (Epoch)0.0% ✎█▁▁▁▁▂▄▂▃▃▂▁ beats 14/157very hard · avg 5.6%▇ 0.0%sharp · too hard for it · noisy
HaluEval summarization hallucination recognition (accuracy)49.5% ✎█··········▃ beats 0/3very hard · avg 50%▇ 0.0%blunt · too hard for it · noisy

$ 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 7B Chat · needs 8.8 GB memory, 4.08 GB download · from huggingface.co/TheBloke
    chat in the terminal
    llama cli -hf TheBloke/Llama-2-7B-Chat-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-7B-Chat-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 7B Chat · needs 8.8 GB memory, 4.08 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-7B-Chat-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Llama 2 7B Chat · needs 8.5 GB memory, 3.83 GB download · from ollama.com
    chat in the terminal
    ollama run llama2:7b-chat

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

$ how the score was worked out · Tulu 2 — base and instruction… 19%, LiveBench model judgments (HF… 13%, AlpacaEval 1.0 and 2.0 leader… 10% and 16 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

sourceresultsshare of the scorelicence
Tulu 2 — base and instruction-tuned evaluations5CC BY 4.0
LiveBench model judgments (HF livebench/model_judgment, 2024-10-22 revision) with the LiveBench question datasets1Apache-2.0 (stated in the LiveBench datasheet)
AlpacaEval 1.0 and 2.0 leaderboards (tatsu-lab/alpaca_eval repository)2Apache-2.0
WildBench v2 leaderboard data (Ai2)1Apache-2.0
Hallucinations Leaderboard results (HF dataset hallucinations-leaderboard/results)4Apache-2.0
LMArena leaderboard dataset1CC BY 4.0
Polyrating: A Cost-Effective and Bias-Aware Rating System for LLM Evaluation (arXiv:2409.00696v3)1CC-BY-4.0
LMSYS Chatbot Arena leaderboard Space: MT-Bench column of the published leaderboard table1Apache-2.0
Open Persian LLM Leaderboard v2 (Part DP AI and AUT NLP Lab)1Apache-2.0
BRIDGE Medical Leaderboard (Harvard Medical School / Brigham and Women's YLab)1MIT
Can Language Models Understand Physical Concepts? — authors' own runs2CC BY 4.0
EQ-Bench: An Emotional Intelligence Benchmark for Large Language Models — authors' own runs1CC BY 4.0
Arena-Hard-Auto v0.1 leaderboard (repository README, pre-v2)1Apache-2.0
Inception Arabic/Hindi leaderboards (AraGen-v3, HindiGen-v1, Arabic IFEval)1Apache-2.0
HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Models — authors' own runs3CC BY 4.0
Open Portuguese LLM Leaderboard (archived)1Apache-2.0
EuroEval leaderboards (results collection), English generative leaderboard1MIT
Vectara hallucination leaderboard (vectara/hallucination-leaderboard repository)1Apache-2.0
Epoch AI — internal evaluations1CC BY 4.0
prior · pull toward the middle
weighted average= 31.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