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

29.7±0.9#644 of 719 LLMsfrom 25 benchmark results across 17 sources

$ how it compares

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

#modelscorewhereRAMreleased
739Llama 3.2 1B Instruct Meta30±1api $0.020/M +local~2.2GB2024-09
740Falcon 7B (base) TII30±1local~5.9GB2023-04
741Llama 2 7B Chat Meta30±1local~5.8GB2023-07
742Baichuan2-7B-Base Baichuan30±1local~17GB2023-08
743LLaMA 7B Meta30±1comparison only2023-02
more from Meta
24Muse Spark 1.3 Meta77±1api $2.00/M2026-09
40Muse Spark 1.2 Meta75±1api $2.00/M2026-08
43Muse Spark 1.1 Meta75±1api $2.00/M2026-07

see all LLMs · find the ones that fit your machine

$ what it's good at

coding▁▃▁▃▆██▇▆▄▃▁ #452 of 458 * · 5.6% 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), OpenAssistant SFT-4 Pythia 12B, Falcon3 1B Instruct here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
Tulu 2: CodexEval pass@1024.0% ✎▃▃▃·▆▃▃█▃▂▂▅ beats 0/25very easy · avg 86%▇▇ 5.6%sharp · at its level
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #377 of 393 · 38% 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 39%▇▇▇ 7.9%too hard for it
Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024)1036.0 ✎▂▁▂▁▃▇█▆▇▄▂▂ beats 21/95avg 1201▇▇▇ 7.4%blunt
LMArena (text)1107.9 ✎▁▁▁▃▃▃▃▆▆▇█▃ beats 16/379avg 1268▇▇▇ 7.3%blunt
MT-Bench (GPT-4 single-answer grading, LMSYS runs)6.2700 MT-Bench score (1-10) ✎▆▂▂▆▆▄██▂▄▄▆ beats 14/28avg 8.819 MT-Bench score (1-10)▇▇▇ 6.4%sharp · noisy
AlpacaEval 1.0 win rate (vs text-davinci-003, GPT-4 judge)71.4% ✎▂▂·▆·▇▃▆█▆▄▂ beats 16/45very easy · avg 96%▇▇ 4.4%sharp · at its level · noisy
Arena-Hard (v0.1, GPT-4-1106 judge)4.6% ✎▃▁▁▅█▅▄▃▃▅▃▁ beats 2/60medium · avg 52%▇ 2.5%sharp · too hard for it
Arabic IFEval prompt-level (Inception)0.7% ✎▃·▁▁▂▁▄▄▆▄█▄ beats 0/38medium · avg 49%▇ 1.8%sharp · too hard for it
math▁▃▃▅▆▅▄█▄▁▁▁ #386 of 398 * · 2.7% of its score · 1 test

Beats Qwen2-VL 2B Instruct, Code Llama 7B (base), Llama 2 13B Chat here, though they rank higher overall. Trails Qwen2 0.5B Instruct, Granite 3.1 1B-A400M Instruct, Gemma 2B (base) here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K12.0% ✎▆▂▅█▅▅▃▆···▂ beats 3/25easy · avg 73%▇ 2.7%sharp
other tests16 not in a task · 54% of its score
testresultvs the others in its rundifficultycountswhy
LiveBench 2024-07-2611.6% ✎▁▁▁▃▂▃▂█▆▃▅▃ beats 6/61medium · avg 41%▇▇▇▇▇ 12%typical
Natural Questions (closed book)23.7% ✎▁·▁·▁▂▁▂·▅▃█ beats 18/28medium · avg 58%▇▇▇ 8.6%typical
WildBench v2 WB-Score (task macro)8.2621 WB-Score ✎▁·▁▃·▃█▄▇▆▅▆ beats 2/52avg 45.199 WB-Score▇▇▇ 8.3%sharp
BIG-Bench Hard25.6% ✎▃·····▂█▂▅·▁ beats 0/25easy · avg 77%▇▇▇ 6.8%sharp
MMLU46.8% ✎▁▁▃▃▄█▄▁█··▁ beats 7/25easy · avg 74%▇ 2.9%typical
Open Persian LLM Leaderboard v2 average (21 tasks)31.7% ✎▃▄▂▃█▄▃▆▃▅▂▂ beats 2/81medium · avg 58%▇ 2.9%blunt · at its level
EQ-Bench v1 (60 questions, paper run)25.4% ✎▂··▄·▂▆▄▂█·▂ beats 2/14medium · avg 57%▇ 2.7%at its level
BRIDGE clinical text, zero-shot average (87 tasks)16.5% ✎▁▁▁▃▁▂▂▃▄▆█▃ beats 6/97hard · avg 32%▇ 2.3%blunt
8 more tests
testresultvs the others in its rundifficultycountswhy
TriviaQA8.8% ✎▁··▁█▃▃▁▄▅▄█ beats 3/28easy · avg 79%▇ 1.3%at its level · noisy
Tulu 2: TyDiQA gold passage, 1-shot F122.7% ✎▃··▁▃▂▂▂█▅▁▂ beats 0/25medium · avg 61%▇ 1.2%blunt · at its level
Open PT-LLM Leaderboard average (9 Portuguese tasks)52.2% ✎▃▁▁▁▁▁▁▃▂█▅▁ beats 72/276medium · avg 73%▇ 1.1%noisy
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy54.3% ✎▁▁▁▁▁▁▁▃▄█▄▃ beats 25/146easy · avg 83%▇ 1.1%at its level · noisy
Vectara hallucination leaderboard, 2025 dataset (HHEM-2.3, factual consistency rate)88.7% ✎▁▁▂▃▄▄█▆▃▂▂▁ beats 19/140very easy · avg 94%▇ 1.0%blunt · noisy
TruthfulQA MC245.3% ✎▅▃█▆▁▂▅···▁▁ beats 20/31medium · avg 64%▇ 0.6%blunt · at its level
HaluEval QA hallucination detection (accuracy)52.3% ✎█▁▁·▁▃·▁▁▁▁▁ beats 20/27medium · avg 70%▇ 0.5%sharp · too hard for it · noisy
Chess Puzzles (Epoch)0.0% ✎█▁▁▁▁▂▁▄▂▂▁▁ beats 8/135very hard · avg 5.9%▇ 0.0%sharp · too hard for it · noisy

$ where to run it

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 ~4.1 GB · 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 ~4.1 GB · 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 ~4.54 GB · from ollama.com
    chat in the terminal
    ollama run llama2:7b-chat

Weights and documentation: huggingface.co/meta-llama ↗

$ how the score was worked out · Tulu 2 — base and instruction… 19%, LiveBench model judgments (HF… 12%, AlpacaEval 1.0 and 2.0 leader… 12% and 14 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 evaluations5▇▇▇▇▇▇ 19%CC BY 4.0
LiveBench model judgments (HF livebench/model_judgment, 2024-10-22 revision) with the LiveBench question datasets1▇▇▇▇ 12%Apache-2.0 (stated in the LiveBench datasheet)
AlpacaEval 1.0 and 2.0 leaderboards (tatsu-lab/alpaca_eval repository)2▇▇▇▇ 12%Apache-2.0
Hallucinations Leaderboard results (HF dataset hallucinations-leaderboard/results)4▇▇▇ 11%Apache-2.0
WildBench v2 leaderboard data (Ai2)1▇▇ 8%Apache-2.0
Polyrating: A Cost-Effective and Bias-Aware Rating System for LLM Evaluation (arXiv:2409.00696v3)1▇▇ 7%CC-BY-4.0
LMArena leaderboard dataset1▇▇ 7%CC BY 4.0
LMSYS Chatbot Arena leaderboard Space: MT-Bench column of the published leaderboard table1▇▇ 6%Apache-2.0
Open Persian LLM Leaderboard v2 (Part DP AI and AUT NLP Lab)1▇ 3%Apache-2.0
EQ-Bench: An Emotional Intelligence Benchmark for Large Language Models — authors' own runs1▇ 3%CC BY 4.0
Arena-Hard-Auto v0.1 leaderboard (repository README, pre-v2)1▇ 3%Apache-2.0
BRIDGE Medical Leaderboard (Harvard Medical School / Brigham and Women's YLab)1▇ 2%MIT
Inception Arabic/Hindi leaderboards (AraGen-v3, HindiGen-v1, Arabic IFEval)1▇ 2%Apache-2.0
Open Portuguese LLM Leaderboard (archived)1▇ 1%Apache-2.0
EuroEval leaderboards (results collection), English generative leaderboard1▇ 1%MIT
Vectara hallucination leaderboard (vectara/hallucination-leaderboard repository)1▇ 1%Apache-2.0
Epoch AI — internal evaluations1▇ 0%CC BY 4.0
prior · pull toward the middle▇ 0%
weighted average= 29.7

$ 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