Hugging Face
Search models, datasets, users... ⌘K
Llama-3.1-Tulu-3-8B
Text Generation
Transformers
allenai/RLVR-GSM-MATH-IF-Mixed-Constraints
conversational
Eval Results (legacy)
text-generation-inference
arxiv: 2411.15124
License: llama3.1
Model card Files Files and versions
Copy to bucket
Use this model
A newer version of this model is available: allenai/Llama-3.1-Tulu-3.1-8B
Tülu 3 is a leading instruction following model family, offering a post-training package with fully open-source data, code, and recipes designed to serve as a comprehensive guide for modern techniques.
This is one step of a bigger process to training fully open-source models, like our OLMo models.
Tülu 3 is designed for state-of-the-art performance on a diversity of tasks in addition to chat, such as MATH, GSM8K, and IFEval.
Model description
Model type: A model trained on a mix of publicly available, synthetic and human-created datasets.
Language(s) (NLP): Primarily English
License: Llama 3.1 Community License Agreement
Finetuned from model: allenai/Llama-3.1-Tulu-3-8B-DPO
Model Sources
Training Repository: https://github.com/allenai/open-instruct
Eval Repository: https://github.com/allenai/olmes
Paper: https://arxiv.org/abs/2411.15124
Demo: https://playground.allenai.org/
Model Family
Llama 3.1 8B
Llama 3.1 70B
meta-llama/Llama-3.1-8B
meta-llama/Llama-3.1-70B
allenai/Llama-3.1-Tulu-3-8B-SFT
allenai/Llama-3.1-Tulu-3-70B-SFT
allenai/Llama-3.1-Tulu-3-8B-DPO
allenai/Llama-3.1-Tulu-3-70B-DPO
Final Models (RLVR)
allenai/Llama-3.1-Tulu-3-8B
allenai/Llama-3.1-Tulu-3-70B
Reward Model (RM)
allenai/Llama-3.1-Tulu-3-8B-RM
(Same as 8B)
Llama 3.1 405B
meta-llama/llama-3.1-405B
allenai/llama-3.1-Tulu-3-405B-SFT
allenai/llama-3.1-Tulu-3-405B-DPO
Final Model (RLVR)
allenai/llama-3.1-Tulu-3-405B
Using the model
Loading with HuggingFace
To load the model with HuggingFace, use the following snippet:
from transformers import AutoModelForCausalLM
tulu_model = AutoModelForCausalLM.from_pretrained("allenai/Llama-3.1-Tulu-3-8B")
As a Llama base model, the model can be easily served with:
vllm serve allenai/Llama-3.1-Tulu-3-8B
Note that given the long chat template of Llama, you may want to use --max_model_len=8192.
Chat template
The chat template for our models is formatted as:
<|user|>\nHow are you doing?\n<|assistant|>\nI'm just a computer program, so I don't have feelings, but I'm functioning as expected. How can I assist you today?<|endoftext|>
Or with new lines expanded:
How are you doing?
<|assistant|>
I'm just a computer program, so I don't have feelings, but I'm functioning as expected. How can I assist you today?<|endoftext|>
It is embedded within the tokenizer as well, for tokenizer.apply_chat_template.
System prompt
In Ai2 demos, we use this system prompt by default:
You are Tulu 3, a helpful and harmless AI Assistant built by the Allen Institute for AI.
The model has not been trained with a specific system prompt in mind.
Bias, Risks, and Limitations
The Tülu3 models have limited safety training, but are not deployed automatically with in-the-loop filtering of responses like ChatGPT, so the model can produce problematic outputs (especially when prompted to do so).
It is also unknown what the size and composition of the corpus was used to train the base Llama 3.1 models, however it is likely to have included a mix of Web data and technical sources like books and code.
See the Falcon 180B model card for an example of this.
Benchmark (eval)
Tülu 3 SFT 8B
Tülu 3 DPO 8B
Llama 3.1 8B Instruct
Qwen 2.5 7B Instruct
Gemma 2 9B Instruct
Ministral 8B Instruct
MMLU (0 shot, CoT)
PopQA (15 shot)
TruthfulQA (6 shot)
BigBenchHard (3 shot, CoT)
DROP (3 shot)
MATH (4 shot CoT, Flex)
GSM8K (8 shot, CoT)
HumanEval (pass@10)
HumanEval+ (pass@10)
IFEval (prompt loose)
AlpacaEval 2 (LC % win)
Safety (6 task avg.)
Tülu 3 70B SFT
Tülu 3 DPO 70B
Llama 3.1 70B Instruct
Qwen 2.5 72B Instruct
Hermes 3 Llama 3.1 70B
Nemotron Llama 3.1 70B
Tülu 3 405B SFT
Tülu 3 405B DPO
Llama 3.1 405B Instruct
Nous Hermes 3 405B
GPT 4o (11-24)
-----------------
----------------
-------------
------------------------
-------------------
Avg w/o Safety
Avg w/ Safety
MMLU (5 shot, CoT)
PopQA (3 shot)
BigBenchHard (0 shot, CoT)
MATH (4 shot, Flex)
Hyperparamters
PPO settings for RLVR:
Learning Rate: 3 × 10⁻⁷
Discount Factor (gamma): 1.0
General Advantage Estimation (lambda): 0.95
Mini-batches (N_mb): 1
PPO Update Iterations (K): 4
PPO's Clipping Coefficient (epsilon): 0.2
Value Function Coefficient (c1): 0.1
Gradient Norm Threshold: 1.0
Learning Rate Schedule: Linear
Generation Temperature: 1.0
Batch Size (effective): 224
Max Token Length: 2,048
Max Prompt Token Length: 2,048
Penalty Reward Value for Responses without an EOS Token: -10.0
Response Length: 2,048
Total Episodes: 100,000
KL penalty coefficient (beta): 0.05
Warm up ratio (omega): 0.0
License and use
All Llama 3.1 Tülu3 models are released under Meta's Llama 3.1 Community License Agreement.
Llama 3.1 is licensed under the Llama 3.1 Community License, Copyright © Meta Platforms, Inc.
Tülu3 is intended for research and educational use.
For more information, please see our Responsible Use Guidelines.
The models have been fine-tuned using a dataset mix with outputs generated from third party models and are subject to additional terms:
Gemma Terms of Use and Qwen License Agreement (models were improved using Qwen 2.5).
If Tülu3 or any of the related materials were helpful to your work, please cite:
@article{lambert2024tulu3,
title = {Tülu 3: Pushing Frontiers in Open Language Model Post-Training},
Nathan Lambert and
Jacob Morrison and
Valentina Pyatkin and
Shengyi Huang and
Hamish Ivison and
Faeze Brahman and
Lester James V. Miranda and
Alisa Liu and
Nouha Dziri and
Shane Lyu and
Yuling Gu and
Saumya Malik and
Victoria Graf and
Jena D. Hwang and
Jiangjiang Yang and
Ronan Le Bras and
Oyvind Tafjord and
Chris Wilhelm and
Luca Soldaini and
Noah A. Smith and
Yizhong Wang and
Pradeep Dasigi and
Hannaneh Hajishirzi
year = {2024},
email = {tulu@allenai.org}
Open LLM Leaderboard Evaluation Results
Detailed results can be found here!
Summarized results can be found here!
IFEval (0-Shot)
BBH (3-Shot)
MATH Lvl 5 (4-Shot)
GPQA (0-shot)
MuSR (0-shot)
MMLU-PRO (5-shot)
Downloads last month 6,236
Model tree for allenai/Llama-3.1-Tulu-3-8B
Quantizations
Dataset used to train allenai/Llama-3.1-Tulu-3-8B
Spaces using allenai/Llama-3.1-Tulu-3-8B 20
Collection including allenai/Llama-3.1-Tulu-3-8B
Tulu 3 Models
All models released with Tulu 3 -- state of the art open post-training recipes. • 11 items • Updated Dec 23, 2025 • 103
Paper for allenai/Llama-3.1-Tulu-3-8B
TÜLU 3: Pushing Frontiers in Open Language Model Post-Training
Paper • 2411.15124 • Published Nov 22, 2024 • 67
Evaluation results
averaged accuracy on IFEval (0-Shot)
Open LLM Leaderboard
normalized accuracy on BBH (3-Shot)
test set Open LLM Leaderboard
exact match on MATH Lvl 5 (4-Shot)
acc_norm on GPQA (0-shot)
acc_norm on MuSR (0-shot)
accuracy on MMLU-PRO (5-shot)