whatmodel.sh / Code Tulu 2 34B

Code Tulu 2 34B is an open-weights language model from Allen Institute for AI, released November 2023. Its published size is 34B parameters. Licence: AI2 ImpACT Low-risk; Llama 2 base terms.

Catalogue identity notes

Exact full-precision model evaluated in the Tulu 2 paper (arXiv:2311.10702v2). QLoRA ablations are separate and not imported.

Model information sources

Release date ↗ · Weights licence ↗

45.1±1.6#482 of 743 LLMsfrom 5 benchmark results across 1 source

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Code Tulu 2 34B, out of 897 with a score, then more from Allen Institute for AI.

#modelscorewhereRAMreleased
581LLaVA-OneVision Qwen2 72B (ov-sft) LLaVA (lmms-lab)45±3local~155GB2024-08
582Falcon3 7B Instruct TII45±2local~5.9GB2024-11
583Code Tulu 2 34B Allen Institute for AI45±2local~72GB2023-11
584Gemma 3 4B Google45±1api $0.063/M +local~3.8GB2025-03
585Phi-4-mini 3.8B Microsoft45±1api $0.13/M +local~4GB2025-02
more from Allen Institute for AI
514OLMo 2 13B Instruct (1124) Allen Institute for AI47±1local~9.6GB2024-12
521Tulu 2 70B Allen Institute for AI47±2local~28GB2023-11
631OLMo 2 7B Instruct (1124) Allen Institute for AI43±1local~5.8GB2024-12

see all LLMs · find the ones that fit your machine

$ what it's good at

coding▁▁▁▃▆▇█▆▆▃▃▁ #323 of 474 * · 15% of its score · 1 test

Beats Solar Open 100B (102B-A12B), Qwen3-VL 30B-A3B Instruct, Qwen3 4B Instruct 2507 here, though they rank higher overall. Trails DeepSeek LLM 67B Chat, WizardLM 70B V1.0, Phi-4-mini 3.8B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
Tulu 2: CodexEval pass@10 lab82.5% ✎▃▃▃·▆▃▃█▃▂▃▅ beats 22/25easy · avg 84%▇▇▇▇▇▇ 15%sharp · at its level
math▁▁▃▅█▆▅█▄▁▁▁ #263 of 440 * · 21% of its score · 1 test

Beats Command A (03-2025), GPT-4o (2024-05-13), GPT-4o (2024-11-20) here, though they rank higher overall. Trails Gemma 7B (base), CodeGemma 7B (v1.0), Phi-2 (2.7B) here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K lab54.0% ✎▆▂▅█▅▅▃▆···▂ beats 17/25easy · avg 72%▇▇▇▇▇▇▇▇ 21%sharp · at its level
other tests3 not in a task · 63% of its score
testresultvs the others in its rundifficultycountswhy
BIG-Bench Hard lab64.3% ✎▁·····▂█▂▅·▁ beats 18/25easy · avg 74%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 41%sharp · at its level
MMLU lab53.6% ✎▁▁▃▃▄█▄▁█··▁ beats 14/25medium · avg 73%▇▇▇▇▇▇▇ 18%at its level
Tulu 2: TyDiQA gold passage, 1-shot F1 lab60.6% ✎▂··▁▃▂▂▂█▅▃▂ beats 23/25medium · avg 59%▇▇ 4.2%blunt · at its level

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

Other ways to run it

  1. Run it as published · needs 72.4 GB memory, 67.5 GB download · from huggingface.co/allenai
    uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='allenai/codetulu-2-34b', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"

Model repository and documentation: huggingface.co/allenai ↗

$ how the score was worked out · Tulu 2 — base and instruction… 99%

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 evaluations · maker-reported5CC BY 4.0
prior · pull toward the middle
weighted average= 45.1

$ 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