whatmodel.sh / Code Tulu 2 34B
Code Tulu 2 34B
↗ share
+ contribute
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
$ how it compares
The LLMs ranked either side of Code Tulu 2 34B, out of 828 with a score, then more from Allen Institute for AI.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 555 | 44±1 | local | |||
| 556 | 44±3 | local | |||
| 557 | 44±2 | local | |||
| 558 | 44±1 | local | |||
| 559 | 44±1 | api $0.13/M +local | |||
| more from Allen Institute for AI | |||||
| 493 | 46±1 | local | |||
| 516 | 46±2 | local | |||
| 599 | 42±1 | local | |||
$ what it's good at
coding▁▁▁▃▆██▇▆▄▃▁ #310 of 458 * · 17% of its score · 1 test
Beats Solar Open 100B (102B-A12B), GLM-4.7-Flash, 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.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Tulu 2: CodexEval pass@10 lab | 82.5% ✎ | ▃▃▃·▆▃▃█▃▂▃▅ beats 22/25 | 17% |
math▁▂▃▅▆▅▄█▄▁▁▁ #295 of 398 * · 14% of its score · 1 test
Beats GPT-4 (0613), Athene-70B, Gemma 2 27B IT here, though they rank higher overall. Trails Gemma 7B (base), DeepSeek R1 Distill Qwen 1.5B, CodeGemma 7B (v1.0) here, though they rank lower overall.
other tests3 not in a task · 67% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BIG-Bench Hard lab | 64.3% ✎ | ▁·····▂█▂▅·▁ beats 18/25 | 45% |
| MMLU lab | 53.6% ✎ | ▁▁▃▃▄█▄▁█··▁ beats 14/25 | 16% |
| Tulu 2: TyDiQA gold passage, 1-shot F1 lab | 60.6% ✎ | ▂··▁▃▂▂▂█▅▃▂ beats 23/25 | 4.9% |
$ where to run it
Other ways to run it
- Run it as published · needs ~67.49 GB · 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'])"
Weights 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
| source | results | share of the score |
|---|---|---|
| 5 | 99% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 43.8 |
$ 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