[whatmodel.sh](../../README.md) / Code Tulu 2 13B # Code Tulu 2 13B Allen Institute for AI · released 2023-11 · 13B params · AI2 ImpACT Low-risk; Llama 2 base terms **score 41.1** ±1.6 · #546 of 732 · from 5 benchmark results across 1 source · † no independently run results verified Score within the [LMArena (text)](https://whatmodel.sh/?set=lmarena-text&score=set) comparison set only. ## What it's good at ● marks Code Tulu 2 13B among every model on that task or test, worst to best.
task    vs the others          rank  counts  tests
coding  ▁▁▁▃▅●█▇▅▄▃▁   #354 of 469*     18%      1
math    ▁▁▃▅●▆▄█▄▂▁▁   #296 of 431*     21%      1
coding · #354 of 469 · 18% of its score Beats [LFM2.5 2.6B](lfm2-5-2-6b.md), [LFM2.5 8B-A1B](lfm2-5-8b-a1b.md), [Qwen3-VL 2B Thinking](qwen3-vl-2b-thinking.md) here, though they rank higher overall.
test                               result  vs the others in its run  difficulty      counts  why
Tulu 2: CodexEval pass@10 (maker)   76.2%  ▃▃▃·▆▃▃█●▂▂▅ beats 19/25  easy · avg 83%     18%  sharp · at its level
math · #296 of 431 · 21% of its score Beats [Molmo 2 8B](molmo-2-8b.md), [DeepSeek-Coder-V2 Instruct (0724)](deepseek-coder-v2-0724.md), [Llama 3.1 Nemotron 70B Instruct](llama-3-1-nemotron-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)   41.0%  ▆▂▅█●▅▃▆···▂ beats 14/25  easy · avg 72%     21%  sharp · at its level
other tests (3)
test                                result  vs the others in its run  difficulty        counts  why
BIG-Bench Hard (maker)               52.8%  ▁·····▂█●▅·▁ beats 15/25  easy · avg 74%       39%  sharp · at its level
MMLU (maker)                         45.9%  ▁▁▃▃●█▄▁█··▁ beats 6/25   medium · avg 73%     17%  at its level
Tulu 2: TyDiQA gold passage, 1-sh…   55.7%  ▂··▁▃▂▂▂█●▁▂ beats 20/25  medium · avg 59%    4.1%  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   99% ▇▇▇▇▇▇▇▇▇▇▇▇
prior: pull toward the middle                   1% ▇
weighted average                              = 41.1
Licences: Tulu 2 ([CC BY 4.0](../../licenses/CC-BY-4.0.txt)) ## How to run it ### Other ways to run it 1. Run it as published (BF16, needs ~26.03 GB, from [huggingface.co/allenai](https://huggingface.co/allenai/codetulu-2-13b/tree/0ce2e069be05f47b560909abe08951d8a50a8b55)) ```sh uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='allenai/codetulu-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/codetulu-2-13b) [interactive version](https://whatmodel.sh/model/code-tulu-2-13b) · [JSON](https://whatmodel.sh/api?format=json&all=1)