whatmodel.sh / Tulu 2 7B

Tulu 2 7B is an open-weights language model from Allen Institute for AI, released November 2023. Its published size is 7B 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 ↗

37.8±1.6#608 of 743 LLMsfrom 6 benchmark results across 2 sources

Score within the LMArena (text) comparison set only.

$ how it compares

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

#modelscorewhereRAMreleased
718Qwen2.5 1.5B Instruct Alibaba38±1local~1.7GB2024-09
719Qwen2-VL 2B Instruct Alibaba38±1local~2.1GB2024-08
720Tulu 2 7B Allen Institute for AI38±2local~5.8GB2023-11
721Mistral 7B Instruct v0.2 Mistral38±1local~5.7GB2023-12
722Code Llama 7B Instruct Meta38±1local~5.5GB2023-08
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
583Code Tulu 2 34B Allen Institute for AI45±2local~72GB2023-11

see all LLMs · find the ones that fit your machine

$ what it's good at

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

Beats Molmo 7B-D (0924) 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.

testresultvs the others in its rundifficultycountswhy
Tulu 2: CodexEval pass@10 lab36.9% ✎▃▃▃·▆▃▃█▃▂▂▅ beats 4/25easy · avg 84%▇▇▇▇▇▇▇▇ 19%sharp · at its level
math▁▁▃▅█▆▅█▄▁▁▁ #320 of 440 * · 19% of its score · 1 test

Beats Molmo 2 8B, GPT-4 (0613), Llama 3.1 Nemotron 70B Instruct here, though they rank higher overall. Trails DeepSeek R1 Distill Qwen 1.5B, Tulu 2 DPO 7B, Gemma 7B (base) here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K lab34.0% ✎▆▂▅█▅▅▃▆···▂ beats 10/25easy · avg 72%▇▇▇▇▇▇▇▇ 19%sharp · at its level
other tests4 not in a task · 61% of its score
testresultvs the others in its rundifficultycountswhy
BIG-Bench Hard lab48.5% ✎▁·····▂█▂▅·▁ beats 8/25easy · avg 74%▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 35%sharp · at its level
MMLU lab50.4% ✎▁▁▃▃▄█▄▁█··▁ beats 9/25medium · avg 73%▇▇▇▇▇▇ 16%at its level
Open PT-LLM Leaderboard average (9 Portuguese tasks)63.0% ✎▃▁▁▁▁▁▁▁▃█▅▁ beats 100/276medium · avg 72%▇▇ 6.1%at its level · noisy
Tulu 2: TyDiQA gold passage, 1-shot F1 lab46.4% ✎▂··▁▃▂▂▃█▅▁▂ beats 10/25medium · avg 59%▇▇ 4.1%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.

llama.cpp · recommended

version

  1. 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 | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run Tulu 2 7B · needs 5.8 GB memory, 4.08 GB download · from huggingface.co/TheBloke
    chat in the terminal
    llama cli -hf TheBloke/tulu-2-7B-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf TheBloke/tulu-2-7B-GGUF:Q4_K_M

LM Studio

version

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run Tulu 2 7B · needs 5.8 GB memory, 4.08 GB download · from huggingface.co/TheBloke

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/TheBloke/tulu-2-7B-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Tulu 2 7B · needs 5.8 GB memory, 4.08 GB download · from huggingface.co/TheBloke
    chat in the terminal
    ollama run hf.co/TheBloke/tulu-2-7B-GGUF:Q4_K_M

Other ways to run it

  1. Run it as published · needs 15.7 GB memory, 13.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/tulu-2-7b', 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… 93%, Open Portuguese LLM Leaderboa… 6%

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
Open Portuguese LLM Leaderboard (archived)1Apache-2.0
prior · pull toward the middle
weighted average= 37.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