[whatmodel.sh](../../README.md) / Tulu 2 13B # Tulu 2 13B Allen Institute for AI · released 2023-11 · 13B params · AI2 ImpACT Low-risk; Llama 2 base terms **score 40.2** ±1.6 · #564 of 732 · from 6 benchmark results across 2 sources Score within the [LMArena (text)](https://whatmodel.sh/?set=lmarena-text&score=set) comparison set only. ## What it's good at ● marks Tulu 2 13B among every model on that task or test, worst to best.
task    vs the others          rank  counts  tests
coding  ▁▁▁●▅▇█▇▅▄▃▁   #437 of 469*     17%      1
math    ▁▁▃▅●▆▄█▄▂▁▁   #290 of 431*     20%      1
coding · #437 of 469 · 17% of its score Beats [DeepSeek R1 Distill Qwen 7B](deepseek-r1-distill-qwen-7b.md), [Qwen3.5 2B](qwen3-5-2b.md), [DeepSeek R1 Distill Llama 8B](deepseek-r1-distill-llama-8b.md) here, though they rank higher overall. Trails [Llama 3.2 1B Instruct](llama-3-2-1b.md), [SmolLM2 1.7B Instruct](smollm2-1-7b.md), [Mistral 7B Instruct v0.1](mistral-7b-instruct-v0-1.md) here, though they rank lower overall.
test                               result  vs the others in its run  difficulty      counts  why
Tulu 2: CodexEval pass@10 (maker)   49.0%  ▃▃▃·●▃▃█▃▂▂▅ beats 7/25   easy · avg 83%     17%  sharp · at its level
math · #290 of 431 · 20% of its score Beats [Molmo 2 8B](molmo-2-8b.md), [DeepSeek-Coder-V2 Instruct (0724)](deepseek-coder-v2-0724.md), [Llama 3.1 70B Instruct](llama-3-1-70b.md) here, though they rank higher overall. Trails [DeepSeek R1 Distill Qwen 1.5B](deepseek-r1-distill-qwen-1-5b.md), [Gemma 7B (base)](gemma-7b-base.md), [Mistral 7B v0.1 (base)](mistral-7b-v0-1.md) here, though they rank lower overall.
test           result  vs the others in its run  difficulty      counts  why
GSM8K (maker)   46.0%  ▆▂▅█●▅▃▆···▂ beats 15/25  easy · avg 72%     20%  sharp · at its level
other tests (4)
test                                result  vs the others in its run    difficulty        counts  why
BIG-Bench Hard (maker)               49.5%  ▁·····▂●▂▅·▁ beats 14/25    easy · avg 74%       36%  sharp · at its level
MMLU (maker)                         55.4%  ▁▁▃▃▄█●▁█··▁ beats 16/25    medium · avg 73%     16%  at its level
Open PT-LLM Leaderboard average (…   63.5%  ▃▁▁▁▁▁▁▁●█▅▁ beats 103/276  medium · avg 72%    6.0%  at its level · noisy
Tulu 2: TyDiQA gold passage, 1-sh…   53.2%  ▂··▁▃▂▂▂●▅▁▂ beats 17/25    medium · avg 59%    3.9%  blunt · at its level
## How the score was worked out Each result implies a score on its own, after adjusting for how hard that test is and who ran it. The model's 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 is added up by who ran the tests. [Method](../method.md)
source                               results  share of the score
Tulu 2 (submitted / maker-reported)        5   93% ▇▇▇▇▇▇▇▇▇▇▇
Open Portuguese LLM Leaderboard            1    6% ▇
prior: pull toward the middle                   1% ▇
weighted average                              = 40.2
Licences: Tulu 2 ([CC BY 4.0](../../licenses/CC-BY-4.0.txt)) · Open Portuguese LLM Leaderboard ([Apache-2.0](../../licenses/hf-leaderboard-spaces-Apache-2.0.txt)) ## How to run it ### llama.cpp (recommended) 1. Install llama.cpp. Homebrew and winget installs name the commands llama-cli and llama-server instead. [Other ways to install](https://github.com/ggml-org/llama.cpp/blob/master/docs/install.md) ```sh # macOS / Linux curl -LsSf https://llama.app/install.sh | sh # Windows irm https://llama.app/install.ps1 | iex ``` 2. Run Tulu 2 13B (Q4_K_M, needs ~7.9 GB, from [huggingface.co/TheBloke](https://huggingface.co/TheBloke/tulu-2-13B-GGUF/tree/7a326c2c4fee5761ffacc330645999e936e58557)) ```sh llama cli -hf TheBloke/tulu-2-13B-GGUF:Q4_K_M ``` 3. Or start a local server and open the address it prints (http://localhost:9931) ```sh llama serve -hf TheBloke/tulu-2-13B-GGUF:Q4_K_M ``` Other versions: Q8_0 (~13.8 GB) `llama cli -hf TheBloke/tulu-2-13B-GGUF:Q8_0` ### LM Studio 1. Install LM Studio. Open the app once before using the lms command. [Download it (macOS / Windows / Linux)](https://lmstudio.ai/download) 2. Run Tulu 2 13B (Q4_K_M, needs ~7.9 GB, from [huggingface.co/TheBloke](https://huggingface.co/TheBloke/tulu-2-13B-GGUF/tree/7a326c2c4fee5761ffacc330645999e936e58557)) ```sh lms get https://huggingface.co/TheBloke/tulu-2-13B-GGUF@Q4_K_M -y ``` 3. Then run lms ls to see its name, and lms chat followed by that name Other versions: Q8_0 (~13.8 GB) `lms get https://huggingface.co/TheBloke/tulu-2-13B-GGUF@Q8_0 -y` ### Ollama 1. Install Ollama. [Download it (macOS / Windows)](https://ollama.com/download) ```sh # Linux curl -fsSL https://ollama.com/install.sh | sh ``` 2. Run Tulu 2 13B (Q4_K_M, needs ~7.9 GB, from [huggingface.co/TheBloke](https://huggingface.co/TheBloke/tulu-2-13B-GGUF/tree/7a326c2c4fee5761ffacc330645999e936e58557)) ```sh ollama run hf.co/TheBloke/tulu-2-13B-GGUF:Q4_K_M ``` Other versions: Q8_0 (~13.8 GB) `ollama run hf.co/TheBloke/tulu-2-13B-GGUF:Q8_0` ### Other ways to run it 1. Run it as published (BF16, needs ~26.03 GB, from [huggingface.co/allenai](https://huggingface.co/allenai/tulu-2-13b/tree/9c8375d9f28252b499f0f14fd1e76dcbf763f9d1)) ```sh uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='allenai/tulu-2-13b', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])" ``` Model repository and documentation: [huggingface.co/allenai](https://huggingface.co/allenai/tulu-2-13b) [interactive version](https://whatmodel.sh/model/tulu-2-13b) · [JSON](https://whatmodel.sh/api?format=json&all=1)