whatmodel.sh / Llama 2 13B Chat
Llama 2 13B Chat
↗ share
+ contribute
Llama 2 13B Chat is an open-weights language model from Meta, released July 2023. Its published size is 13.02B 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-13b-chat. 13,015,866,880 parameters (safetensors metadata of the -hf repo).
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Llama 2 13B Chat, out of 897 with a score, then more from Meta.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 748 | 36±1 | local | |||
| 749 | 36±1 | local | |||
| 750 | 35±1 | local | |||
| 751 | 35±1 | local | |||
| 752 | 35±1 | local | |||
| more from Meta | |||||
| 10 | 81±1 | Muse Code only | |||
| 20 | 78±1 | api $8.00/M | |||
| 31 | 76±1 | api $0.20/M | |||
$ what it's good at
coding▁▁▃▃▆▇█▆▆▃▃▁ #460 of 474 * · 4.8% of its score · 1 test
Beats Molmo 7B-D (0924), DeepSeek R1 Distill Qwen 1.5B, Qwen3 0.6B here, though they rank higher overall. Trails Falcon3 1B Instruct, Gemma 2B IT, Granite 3.0 1B-A400M Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Tulu 2: CodexEval pass@10 | 33.1% ✎ | ▃▃▃·▆▃▃█▃▂▂▅ beats 3/25 | 4.8% |
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #369 of 405 · 33% of its score · 6 tests
Beats Code Llama 70B Instruct, Gemma 4 E2B, Code Llama 34B Instruct here, though they rank higher overall. Trails Gemma 3 270M IT, SmolLM2 360M Instruct, Granite 4.0 350M here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| AlpacaEval 2 length-controlled | 8.4% ✎ | ▁▂▂▃▆▆█▆▄▄▁▁ beats 18/122 | 11% |
| LMArena (text) | 1141.6 ✎ | ▁▁▁▃▃▂▃▆▆▇█▃ beats 33/388 | 6.7% |
| Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024) | 1081.0 ✎ | ▂▁▂▁▃▇█▆▇▄▂▂ beats 38/95 | 6.5% |
| MT-Bench (GPT-4 single-answer grading, LMSYS runs) | 6.6500 MT-Bench score (1-10) ✎ | ▆▂▂▆▆▄██▂▄▄▆ beats 19/28 | 5.0% |
| Arabic IFEval prompt-level (Inception) | 2.0% ✎ | ▁·▃▁▂▁▄▄▆▄█▄ beats 1/38 | 2.5% |
| AlpacaEval 1.0 win rate (vs text-davinci-003, GPT-4 judge) | 81.1% ✎ | ▂▂·▆·▇▃▆█▆▄▂ beats 19/45 | 1.7% |
math▁▃▃▅█▆▅█▄▁▁▁ #426 of 440 * · 10% of its score · 1 test
Trails GPT-Neo 125M, OPT-125M, GPT-2 XL (1.5B) here, though they rank lower overall.
other tests19 not in a task · 52% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BIG-Bench Hard +1 | 40.3% ✎ | ▁·····▃█▂▅·▁ beats 3/25 | 13% |
| MMLU +1 | 53.2% ✎ | ▁▁▃▃▄█▄▁█··▁ beats 13/25 | 7.1% |
| Natural Questions (closed book) | 27.3% ✎ | ▁·▁·▁▂▁▂·▅▂█ beats 24/28 | 6.3% |
| ARC Challenge | 61.2% ✎ | ▄▁▁▂▁▄█▇▃▂▃▂ beats 108/140 | 4.1% |
| Open Persian LLM Leaderboard v2 average (21 tasks) | 29.4% ✎ | ▃▄▂▃█▄▃▆▃▅▂▂ beats 0/81 | 3.2% |
| VEC embodied concepts, zero-shot perplexity probing (average) | 55.0% ✎ | ▁····▁▁·▁·▃█ beats 5/11 | 3.0% |
| AGIEval English | 38.9% ✎ | █▄▄··▄··▄█·█ beats 1/9 | 2.9% |
| BRIDGE clinical text, zero-shot average (87 tasks) | 20.9% ✎ | ▁▁▁▁▁▃▂▃▄▆█▃ beats 13/97 | 2.9% |
11 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| EQ-Bench v1 (60 questions, paper run) | 33.0% ✎ | ▂··▄·▃▆▄▂█·▂ beats 3/14 | 2.7% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 58.0% ✎ | ▃▁▁▁▁▁▁▁▃█▅▁ beats 84/276 | 1.4% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 57.6% ✎ | ▁▁▁▁▁▁▁▃▄█▄▃ beats 30/146 | 1.2% |
| ARC Easy | 76.3% ✎ | ▁▃▂▄▆█▅▃▁··▁ beats 82/100 | 1.1% |
| Tulu 2: TyDiQA gold passage, 1-shot F1 | 32.1% ✎ | ▂··▃▃▂▂▂█▅▁▂ beats 2/25 | 1.0% |
| Vectara hallucination leaderboard, 2025 dataset (HHEM-2.3, factual consistency rate) | 89.5% ✎ | ▁▁▂▃▄▄█▆▃▂▂▁ beats 23/140 | 0.8% |
| TriviaQA | 9.8% ✎ | ▁··▁█▃▃▁▄▅▄█ beats 7/28 | 0.8% |
| HaluEval QA hallucination detection (accuracy) | 57.3% ✎ | █▁▁·▁▁·▁▃▁▁▁ beats 22/27 | 0.5% |
| TruthfulQA MC2 | 44.0% ✎ | ▅▃█▆▁▂▅···▁▁ beats 16/31 | 0.2% |
| VEC visual concepts, zero-shot perplexity probing (average) | 64.9% ✎ | ▅▅▃█·▃··▃·▃▃ beats 8/11 | 0.0% |
| Chess Puzzles (Epoch) | 0.0% ✎ | █▁▁▁▁▂▄▂▃▃▂▁ beats 15/157 | 0.0% |
$ 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
- 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 | shWindowsirm https://llama.app/install.ps1 | iex - Run Llama 2 13B Chat · needs 15 GB memory, 7.87 GB download · from huggingface.co/TheBlokechat in the terminal
llama cli -hf TheBloke/Llama-2-13B-chat-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf TheBloke/Llama-2-13B-chat-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Llama 2 13B Chat · needs 15 GB memory, 7.87 GB download · from huggingface.co/TheBloke
- Or download it in the terminal
lms get https://huggingface.co/TheBloke/Llama-2-13B-chat-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Llama 2 13B Chat · needs 14.5 GB memory, 7.37 GB download · from ollama.comchat in the terminal
ollama run llama2:13b-chat
Model repository and documentation: huggingface.co/meta-llama ↗
$ how the score was worked out · Orca 2: Teaching Small Langua… 23%, Tulu 2 — base and instruction… 21%, AlpacaEval 1.0 and 2.0 leader… 12% and 13 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