Tülu 3: Pushing Frontiers in Open Language Model Post-Training
arXiv:2411.15124v5 · This workspace stays on this version. Check arXiv for newer versions
Some source details need review 23 to check
Original formulas, table values and figures are preserved. Comparison can miss differences; use the original PDF to check details.
Reading view checked: 246 math expressions, 8 rendering failures; 105 of 113 images available.
Compared 216 of 416 source passages against 35 of 82 PDF pages.
The HTML source contains failed formatting commands; these were omitted from the reading view. The original sources are retained. (31)
- Some source graphics could not be placed in the reading view. (14)
- Some formulas have no TeX source; check the original PDF. (1)
- Some figure, table or graphic images are unavailable; the original paper is still accessible. (8)
- Some graphics are laid out differently in the HTML source than in the paper (text or formulas outside their frame); check the original PDF. (1)
- Some formulas could not be rendered; their original TeX is shown. Check the original PDF. (8)
- S4_SS3_SSS2_g1: blank, oversized or incomplete source rendering; capture unavailable.
- S4_SS3_SSS2_g2: blank, oversized or incomplete source rendering; capture unavailable.
- S5_SS3_g1: blank, oversized or incomplete source rendering; capture unavailable.
- S5_F8: blank, oversized or incomplete source rendering; capture unavailable.
- S5_SS3_g2: blank, oversized or incomplete source rendering; capture unavailable.
- S5_F9: blank, oversized or incomplete source rendering; capture unavailable.
- S7_SS4_SSS1_Px2_g1: blank, oversized or incomplete source rendering; capture unavailable.
- S7_F24: blank, oversized or incomplete source rendering; capture unavailable.
- A2_F27: the arXiv HTML draws text or formulas of this graphic outside its frame and it could not be corrected safely (too-small); the image shows the HTML layout, which differs from the PDF.
- A2_F28: the arXiv HTML draws 5 text or formula block(s) of this graphic outside its frame; each was scaled into its frame (to 75% or more) without changing any text or formula. Text may look smaller than in the PDF.
- A2_F29: the arXiv HTML draws 5 text or formula block(s) of this graphic outside its frame; each was scaled into its frame (to 75% or more) without changing any text or formula. Text may look smaller than in the PDF.
- A3_F30: the arXiv HTML draws 1 text or formula block(s) of this graphic outside its frame; each was scaled into its frame (to 83% or more) without changing any text or formula. Text may look smaller than in the PDF.
- A3_F32: the arXiv HTML draws 1 text or formula block(s) of this graphic outside its frame; each was scaled into its frame (to 80% or more) without changing any text or formula. Text may look smaller than in the PDF.
- A3_F33: the arXiv HTML draws 1 text or formula block(s) of this graphic outside its frame; each was scaled into its frame (to 77% or more) without changing any text or formula. Text may look smaller than in the PDF.
- A3_F34: the arXiv HTML draws 1 text or formula block(s) of this graphic outside its frame; each was scaled into its frame (to 84% or more) without changing any text or formula. Text may look smaller than in the PDF.
- A3_F35: the arXiv HTML draws 1 text or formula block(s) of this graphic outside its frame; each was scaled into its frame (to 70% or more) without changing any text or formula. Text may look smaller than in the PDF.
- A3_F36: the arXiv HTML draws 1 text or formula block(s) of this graphic outside its frame; each was scaled into its frame (to 77% or more) without changing any text or formula. Text may look smaller than in the PDF.
- This long paper was only partially compared; the original sources remain available.
105 of 113 figure, table and graphic images captured. Open original PDF
Abstract
Language model post-training is applied to refine behaviors and unlock new skills across a wide range of language models, but open recipes for applying these techniques lag behind proprietary ones. The underlying training data and recipes for post-training are simultaneously the most important pieces of the puzzle and the portion with the least transparency. To bridge this gap, we introduce Tülu 3, a family of fully-open state-of-the-art post-trained models, alongside its data, code, and training recipes, serving as a comprehensive guide for modern post-training techniques. Tülu 3, which builds on Llama 3.1 base models, achieves results surpassing the instruct versions of Llama 3.1, Qwen 2.5, Mistral, and even closed models such as GPT-4o-mini and Claude 3.5-Haiku. The training algorithms for our models include supervised finetuning (SFT), Direct Preference Optimization (DPO), and a novel method we call Reinforcement Learning with Verifiable Rewards (RLVR). With Tülu 3, we build a multi-task evaluation scheme for post-training with development and unseen evaluations, standard benchmark implementations, and substantial decontamination of existing open datasets on said benchmarks. We conclude with analysis and discussion of training methods that did not reliably improve performance.
The Tülu 3 release includes model weights, a demo, and the complete recipe — datasets for diverse core skills, a robust toolkit for data curation and evaluation, the training code and infrastructure, and, most importantly, a detailed report for reproducing and further adapting the Tülu 3 approach to more domains.
[1,*]Nathan Lambert{}^{{\color[rgb]{0.9297,0.0039,0.4883}\varheartsuit}} [1]Jacob Morrison{}^{{\color[rgb]{0.9297,0.0039,0.4883}\varheartsuit}} [1,2]Valentina Pyatkin{}^{{\color[rgb]{0.9297,0.0039,0.4883}\varheartsuit}} [1]Shengyi Huang{}^{{\color[rgb]{0.9297,0.0039,0.4883}\varheartsuit}} [1,2]Hamish Ivison{}^{{\color[rgb]{0.9297,0.0039,0.4883}\varheartsuit}} [1]Faeze Brahman{}^{{\color[rgb]{0.9297,0.0039,0.4883}\varheartsuit}} [1]Lester James V. Miranda{}^{{\color[rgb]{0.9297,0.0039,0.4883}\varheartsuit}} [2]Alisa Liu [1]Nouha Dziri [1]Xinxi Lyu [1]Yuling Gu [1]Saumya Malik [2]Victoria Graf [1]Jena D. Hwang [1]Jiangjiang Yang [1]Ronan Le Bras [1]Oyvind Tafjord [1]Chris Wilhelm [1]Luca Soldaini [1,2]Noah A. Smith [1,2]Yizhong Wang [1]Pradeep Dasigi [1,2]Hannaneh Hajishirzi 1]Allen Institute for AI 2]University of Washington [*]Tülu 3 was a team effort. {\color[rgb]{0.9297,0.0039,0.4883}\varheartsuit} marks core contributors. See full author contributions here.
Contact tulu@allenai.org. [ Tulu 3 8B:]Llama-3.1-Tulu-3-8B [ Tulu 3 70B:]Llama-3.1-Tulu-3-70B [ Tulu 3 405B:]Llama-3.1-Tulu-3-405B [ Tulu 3 Data:]tulu-3-datasets-673b8df14442393f7213f372 [ Tulu 3 Code:]open-instruct [ Tülu 3 Eval:]olmes [ Demo:]playground.allenai.org
| Model Checkpoints | ||
| Stage | Llama 3.1 8B | Llama 3.1 70B |
| Base Model | meta-llama/Llama-3.1-8B | meta-llama/Llama-3.1-70B |
| SFT | allenai/Llama-3.1-Tulu-3-8B-SFT | allenai/Llama-3.1-Tulu-3-70B-SFT |
| DPO | allenai/Llama-3.1-Tulu-3-8B-DPO | allenai/Llama-3.1-Tulu-3-70B-DPO |
| Final Model (RLVR) | allenai/Llama-3.1-Tulu-3-8B | |
| RM: allenai/Llama-3.1-Tulu-3-8B-RM | allenai/Llama-3.1-Tulu-3-70B | |
| Stage | Llama 3.1 405B | |
| Base Model | meta-llama/Llama-3.1-405B | |
| SFT | allenai/Llama-3.1-Tulu-3-405B-SFT | |
| DPO | allenai/Llama-3.1-Tulu-3-405B-DPO | |
| Final Model (RLVR) | allenai/Llama-3.1-Tulu-3-405B | RM: Same as 8B/70B |
| Codebases / Tools | |
| Type | Link |
| Training | allenai/open-instruct |
| Tülu 3 Eval | allenai/olmes |
| Decontamination | allenai/open-instruct/tree/main/decontamination |
| Preference Data Inference | allenai/birr |
| Instruction Datasets | ||
| Type | Domain | Link |
| Full mix | General | allenai/tulu-3-sft-mixture |
| Task Specific | Precise Instruction Following | allenai/tulu-3-sft-personas-instruction-following |
| Subsets | MATH | allenai/tulu-3-sft-personas-math |
| Grade School Math | allenai/tulu-3-sft-personas-math-grade | |
| Python Code | allenai/tulu-3-sft-personas-code | |
| Preference Mixes | |
| Model | Link |
| Llama 3.1 405B | allenai/llama-3.1-tulu-3-405b-preference-mixture |
| Llama 3.1 70B | allenai/llama-3.1-tulu-3-70b-preference-mixture |
| Llama 3.1 8B | allenai/llama-3.1-tulu-3-8b-preference-mixture |
| Specific Preference Datasets | |
| Domain | Link |
| Precise Instruction Following | allenai/tulu-3-pref-personas-instruction-following |
| General | allenai/tulu-3-sft-prompts-ultrafeedback |
| General | allenai/tulu-3-wildchat-ultrafeedback |
| RL with Verifiable Rewards Training Datasets | |
| Domain | Link |
| Full Mix | allenai/RLVR-GSM-MATH-IF-Mixed-Constraints |
| GSM Only | allenai/RLVR-GSM |
| MATH Only | allenai/RLVR-MATH |
| IFeval Only | allenai/RLVR-IFeval |
View original table


“Just as the camel shares its burdens with others in the caravan, the wise share their insights to lighten the load of ignorance.” – Proverb generated by Tülu 3.
Post-training — the collection of techniques including instruction tuning, reinforcement learning from human feedback, and other types of finetuning — has become a crucial step in building frontier language models (OpenAI, 2024; Anthropic, 2024), yet developments to these techniques are frequently not accompanied by open resources and recipes. Fully open source counterparts (e.g., Tülu 2 (Ivison et al., 2023) and Zephyr- (Tunstall et al., 2023)) often rely on simpler-to-implement and cheaper pipelines and have become outdated on many metrics.
To close the gap between open and closed post training, we introduce Tülu 3, a family of open state-of-the-art post-trained models, alongside all of the data, training recipes, code, infrastructure, and evaluation framework. Integrating partial details from proprietary methods with novel techniques and established academic research, Tülu 3 pushes the boundaries of research in post-training. The advancements of Tülu 3 are attributed to Tülu 3 Data, new permissively licensed training datasets targeting core skills, Tülu 3 Eval, an evaluation suite and tools to establish clear performance goals and guide improvement through training stages, and Tülu 3 Recipe, an advanced multi-stage training pipeline incorporating new algorithmic advancements in reinforcement learning, cutting-edge infrastructure, and rigorous experimentation to optimize data mixes, methods, and parameters across various training stages.
In order to build Tülu 3, we identify a set of core skills to improve after training (e.g., reasoning, math, coding, safety, precise instruction following, knowledge recall, etc.) and build an evaluation framework to establish clear performance goals and guide model improvement over a selection of development and unseen tasks. Tülu 3 benefits significantly from leveraging publicly available open data, generating diverse, skill-specific synthetic data at various training stages, and aggressively decontaminating them against our evaluation suite.
The Tülu 3 training recipe involves multiple stages, with each stage building upon the previous model and focusing on different types of data — namely, prompt-completion instances for supervised finetuning, preferences for preference tuning, or verifiable rewards for reinforcement learning. Our methodology facilitates identifying skill deficiencies and refining the data mix, methods and parameters, ensuring a balanced performance of core skills across the training process. Through rigorous, principled experimentation, we determine the best data mix for supervised finetuning, resulting in the Tülu 3 SFT checkpoint. Leveraging recent advances in preference tuning, we then train a model over carefully curated on-policy preference data from comparing Tülu 3 SFT completions against outputs from other language models. Furthermore, we introduce a new final finetuning stage – Reinforcement Learning with Verifiable Rewards (RLVR) - which employs a novel RL objective tailored to enhance specific skills with verifiable answers, such as mathematics and precise instruction following.
Our best performing recipe yields Tülu 3 models that outperform the state-of-the-art post-trained open-weight models of the same size such as Llama 3.1 Instruct (Dubey et al., 2024) or Mistral-Instruct (Mistral AI, 2024), and at the large 70B size Tülu matches the offerings of closed providers such as Claude 3.5 Haiku and GPT-4o mini. Furthermore, at 405B size our model performs competitively against DeepSeek v3 (DeepSeek-AI et al., 2024) and GPT 4o (11-24).
In summary, Tülu 3 represents a family of state-of-the-art open language models, featuring a modern post-training framework with fully open-source data Tülu 3 Data, evaluation Tülu 3 Eval, training code Tülu 3 Code and development recipes Tülu 3 Recipe. Here are a few key contributions from the development of Tülu:
- •
Extensive guidance and tooling for evaluation, decontamination, and recipe design,
- •
Scaled, new synthetic instruction datasets,
- •
Scaling preference data with on-policy generations,
- •
Reinforcement learning with verifiable rewards, an RL-based method that only gets a reward if the model’s completions are verified to be correct, and
- •
Advanced infrastructure, details, and code to facilitate the successful implementation of large models.

⊤ indicates scores taken from Claude 3 Model Card and Claude 3.5 Model Card Addendum.
♢ indicates score interpolated with Multiple Imputation by Chained Equations (MICE) with context of all other scores in the table, except averages. These scores were either subject to substantial formatting errors in our evaluation suite or not found in other major technical reports. Instruct versions of models shortened to Inst.
Closed model versions: GPT-3.5-Turbo-0125, GPT-4o-mini-2024-07-18, Claude 3.5 Haiku 20241022**
The result of our work is completely open pipelines for finetuning language models. We release final models trained on Llama 3.1 base versions (Dubey et al., 2024), with intermediate checkpoints, training data, training code, and evaluation code (a full list of artifacts released is available in Table 1). With all the released resources, others can take open base models and finetune them to high-performance on any task of interest – laying the foundation of post-training research within complex, multi-objective and multi-stage training regimes.
Early work in language model post-training followed a standard recipe pioneered by models like InstructGPT (Ouyang et al., 2022), consisting of instruction-tuning followed by preference finetuning (PreFT) (Stiennon et al., 2020; Nakano et al., 2021; Askell et al., 2021; Ouyang et al., 2022). Since then, the sophistication and complexity of post-training approaches have continued to increase, moving towards multiple rounds of training, human data plus synthetic data, and multiple training algorithms and objectives (Touvron et al., 2023; Dubey et al., 2024; Gunter et al., 2024). However, most successful post-training models offer limited information about their training data, code, or recipes. Open post-training research, such as Tülu 2 (Ivison et al., 2023) and Zephyr- (Tunstall et al., 2023), show strong results in some benchmarks and on chat evaluations such as AlpacaEval or Arena-Hard (Li et al., 2024a), but still lag behind in core capabilities such as MATH (Hendrycks et al., 2021), IFEval (Zhou et al., 2023) and GSM8K (Cobbe et al., 2021).
Tülu 3 pushes the boundaries of research in post-training and closes the gap between open and closed finetuning recipes. With Tülu 3, we hope to uncover which paths for the open-source community will lead to success and which do not (by reporting negative results). It is a complex training process that integrates partial details from proprietary methods with novel techniques and combines it with established academic research. The key factors in the success of Tülu 3 are careful data curation, rigorous experimentation and evaluation, innovative methodologies, and improved training infrastructure. We followed systematic guidelines by scientifically evaluating this process through creating development and test sets for evaluation, and conduct careful decontamination of publicly available datasets.
Tülu 3 is not just an artifact, but a comprehensive suite of data and tools designed to advance the frontier of open post-training. By openly sharing our data, recipe and findings, we aim to empower the community to explore new and innovative post-training approaches. We list the extensive artifacts and tools released in Table 1.
| Core Skill | Development | Unseen |
| Knowledge | MMLU | MMLU-Pro |
| PopQA | GPQA | |
| TruthfulQA | ||
| Reasoning | BigBenchHard | AGIEval English |
| DROP | ||
| Math | MATH | Deepmind Mathematics |
| GSM8K | ||
| Coding | HumanEval | BigcodeBench |
| HumanEval+ | ||
| Instruction Following (IF) | IFEval | IFEval-OOD |
| AlpacaEval 2 | HREF | |
| Safety | Tülu 3 Safety |
View original table

The Tülu 3 effort began with identifying key areas where open post-training recipes often fall behind and that are desirable capabilities for generalist language models. Table 3 outlines the core capabilities we aim to enhance and the evaluation benchmarks selected to cover these skills. With Tülu 3, we focus on core skills of knowledge recall, reasoning, mathematics, coding, instruction following, general chat, and safety.
We curate and collect Tülu 3 Data to target these core skills by sourcing from public data and synthetically curating data. We use various data formats at different stages of training. Table 7 outlines the collection of datasets used to train our model, and further details are provided in Section §3.
A key factor in the success of our post-training approach is establishing clear performance goals and evaluation tools to guide improvement. With Tülu 3 Eval, we release a unified, standardized evaluation suite and a toolkit to guide the development of and assessment of final models while decontaminating training data against evaluation benchmarks.
Our framework consists of an open evaluation toolkit for reproducible evaluations (Section 7.1), a suite for evaluating core skills in instruction-tuned models with separate development (Section 7.2) and held-out evaluations (Section 7.3), and a set of recommended settings for evaluating on our evaluation suite based on our experiments with various models. Both splits cover all identified skills, except we have no unseen safety evaluation. Crucially, we did not examine scores on our unseen set when developing our models, allowing us to observe how much we may have overfit to particular evaluations in our decisions around data mixtures, algorithms, and hyperparameters.
Table 3 summarizes our evaluation suite. We provide further details on our evaluations in Section 7 and in Table 24. We publicly release our evaluation suite at https://github.com/allenai/olmes.



In this section, we provide an overview of the Tülu 3 recipe to obtain a state-of-the-art post-trained model. We produce Tülu 3 models through a four-stage post-training recipe on top of pretrained language models (see Figure 1). The Tülu 3 Recipe is an advanced multi-stage training pipeline incorporating new algorithmic advancements in reinforcement learning, cutting-edge infrastructure, and rigorous experimentation to curate data and optimize data mixes, methods, and parameters across various training stages. Throughout all stages, we measure model performance using a carefully-chosen evaluation suite. The stages are as follows:
Stage 1: Data Curation (§3) We curate a variety of prompts to be allocated across multiple stages of optimization. We create new synthetic prompts or, when available, source prompts from existing datasets to target specific capabilities. We ensure prompts are not contaminated with our evaluation suite, Tülu 3 Eval.
Stage 2: Supervised Finetuning (§4) We perform supervised finetuning (SFT) on carefully selected prompts and completions. With thorough experimentation, the final SFT data and training hyperparameters are determined to enhance target core skills without significantly impacting the performance of others, guided by our evaluation framework.
Stage 3: Preference Tuning (§5) We apply preference tuning, specifically DPO, to newly curated on-policy synthetically created preference data from selected prompts along with off-policy data. As in the SFT stage, we identify the best preference data mix through thorough experimentation, uncovering what formats of data, methods, or hyperparameters lead to improvements.
Stage 4: Reinforcement Learning with Verifiable Rewards (§6) We introduce a new RL-based post-training stage which trains the model on verifiable rewards instead of a reward model, as is common for traditional RLHF training. We select tasks with verifiable outcomes, such as mathematical problem-solving, and only provide rewards when the model’s generations are verified to be correct. We then use RL to maximize these rewards.
The key contributions of our Tülu 3 pipeline lie in improved data, methods, infrastructure, and rigorous evaluation. Key elements of our pipeline include:
- •
Data Quality, Provenance, and Scale (§3) We obtain prompts by carefully surveying available open-source datasets, analyzing their provenance, and decontaminating them, as well as curating synthetic prompts that target core skills. To ensure effectiveness, we conduct thorough experiments to study their impact on our development evaluation suite. We find targeted prompts to be influential to improve core skills, while real-world queries, e.g., WildChat (Zhao et al., 2024), are important to improve general chat capabilities. Using the Tülu 3 Eval decontamination tool, we ensure prompts are not contaminated against our evaluation suite.
- •
Creating a Multi-Skill SFT Dataset (§4.1) The distribution of the prompts in the “general” and “skill-specific” categories was refined by several rounds of supervised finetuning on various data mixtures. For example, to improve mathematical reasoning, we first establish an upper bound in our evaluation suite by creating math-specialized models, then mix data to bring the general models closer to this upper bound.
- •
Curating an On-Policy Preference Dataset (§5.2) We develop an on-policy data curation pipeline to scale our preference dataset generation. Concretely, we generate completions from Tülu 3-SFT and other models for given prompts, and obtain preference labels through their pairwise comparisons. Our approach extends and improves the off-policy preference data generation method by Cui et al. (2023). Careful multi-skill selection of preference data yields 354,192 instances for preference tuning demonstrating significant improvements in a range of tasks.
- •
Preference Tuning Algorithm Design (§5.4) We experiment with several preference tuning algorithms and observe improved performance in using length-normalized Direct Preference Optimization. We prioritized simplicity and efficiency in experimentation and used length-normalized DPO throughout the development process and training our final models, in lieu of more costly investigations into RL-based methods, such as PPO.
- •
Skill-Specific RL with Verifiable Rewards (§6) We adapt a new approach, leveraging a standard reinforcement-learning paradigm to target skills that can be evaluated against a ground-truth outcome (e.g., Math). We refer to this algorithm as Reinforcement Learning with Verifiable Rewards (RLVR); it obtains a constant reward value if a completion is successful. Our results show that RLVR can improve GSM8K, MATH, and IFEval performance.
- •
Training Infrastructure for Reinforcement Learning (§6.3): We implemented an asynchronous RL setup: we run LLM inference efficiently via vLLM while the learners perform gradient updates concurrently. Our RL codebase is also highly scalable and can train 70B and 405B RLVR policy models.
- •
Evaluation Framework: Tülu 3 Eval (§7) In addition to evaluating the final models, our evaluation framework is an open evaluation toolkit designed to guide the development progress through carefully selected evaluation suite and tools for decontamination.
When reporting scores throughout this work, we use the metrics identified in Table 3; higher is better. When computing overall performance, we simply average scores across all evaluations, treating each evaluation equally. For generative evaluations our output length is 4096.
Tülu 3 trained on Llama 3 base models outperforms all other open-weight models in its size category on our development evaluation suite. Compared to closed models, Tülu 3 70B even surpasses closed models such as GPT-3.5-Turbo-0125 or GPT-4o-mini-2024-07-18, while approaching the performance of Claude 3.5 Haiku 20241022. The summary of Tülu 3 trained on Llama 3 at 8 and 70 billion parameters versus the leading models in their size classes is shown in Table 2. A per training stage breakdown of performance is shown for the 8B version in Table 6 and for 70B in Table 5.
With our models trained from raw pretrained base models, we compare to instruct models trained on the same base models (e.g. Nous Hermes 3), instruct models on similar sized, but different base versions (e.g. Ministral 8B or Qwen 2.5 Instruct), and other finetuning recipes trained on an instruct version (e.g. Nemotron Llama 3.1). At 70B, we compare to and surpass Llama 3.1 70B Instruct, Qwen 2.5 72B Instruct (Qwen Team, 2024), Nous Hermes 3 70B (Teknium et al., 2024) (trained on Llama 3.1 70B), and Nemotron Llama 3.1 70B (Wang et al., 2024c) (trained on Llama 3.1 70B Instruct). At 8B, we compare to and surpass Llama 3.1 8B Instruct, Gemma 2 9B Instruct (Gemma Team et al., 2024), Nous Hermes 3 8B (trained on Llama 3.1 8B), Qwen 2 7B Instruct, and Ministral 8B Instruct 2410.
We release all artifacts associated with the Tülu 3 training recipe – including SFT, DPO, and RL model checkpoints, along with new SFT and DPO datasets. A summary of the artifacts released with Tülu 3 is included in Table 1.
| Category | Prompt Dataset | Count | # Prompts used in SFT | # Prompts used in DPO | Reference |
| General | Tülu 3 Hardcoded↑ | 24 | 240 | – | – |
| OpenAssistant1,2,↓ | 88,838 | 7,132 | 7,132 | Köpf et al. (2024) | |
| No Robots | 9,500 | 9,500 | 9,500 | Rajani et al. (2023) | |
| WildChat (GPT-4 subset)↓ | 241,307 | 100,000 | 100,000 | Zhao et al. (2024) | |
| UltraFeedbackα,2 | 41,635 | – | 41,635 | Cui et al. (2023) | |
| Knowledge | FLAN v21,2,↓ | 89,982 | 89,982 | 12,141 | Longpre et al. (2023) |
| Recall | SciRIFF↓ | 35,357 | 10,000 | 17,590 | Wadden et al. (2024) |
| TableGPT↓ | 13,222 | 5,000 | 6,049 | Zha et al. (2023) | |
| Math | Tülu 3 Persona MATH | 149,960 | 149,960 | – | – |
| Reasoning | Tülu 3 Persona GSM | 49,980 | 49,980 | – | – |
| Tülu 3 Persona Algebra | 20,000 | 20,000 | – | – | |
| OpenMathInstruct 2↓ | 21,972,791 | 50,000 | 26,356 | Toshniwal et al. (2024) | |
| NuminaMath-TIRα | 64,312 | 64,312 | 8,677 | Beeching et al. (2024) | |
| Coding | Tülu 3 Persona Python | 34,999 | 34,999 | – | – |
| Evol CodeAlpacaα | 107,276 | 107,276 | 14,200 | Luo et al. (2023) | |
| Safety | Tülu 3 CoCoNot | 10,983 | 10,983 | 10,983 | Brahman et al. (2024) |
| & Non-Compliance | Tülu 3 WildJailbreakα,↓ | 50,000 | 50,000 | 26,356 | Jiang et al. (2024) |
| Tülu 3 WildGuardMixα,↓ | 50,000 | 50,000 | 26,356 | Han et al. (2024) | |
| Multilingual | Aya↓ | 202,285 | 100,000 | 32,210 | Singh et al. (2024b) |
| Precise IF | Tülu 3 Persona IF | 29,980 | 29,980 | 19,890 | – |
| Tülu 3 IF-augmented | 65,530 | – | 65,530 | – | |
| Total | 23,327,961 | 939,344 | 425,145γ |
View original table

Prompts represent the diverse ways users may interact with models and serve as the essential component for all post-training stages. We curate an extensive collection of millions of prompts as the starting point of Tülu 3 post-training recipe. Data selected for next stages of training are selected from these prompts. Table 7 summarizes the key information of these prompts. In this section, we describe our prompt curation process and the decontamination effort to ensure that our evaluations are not leaked in these prompts. In the following sections, we describe how prompts are used for supervised finetuning §4 and preference tuning §5.
To target the desired core skills, we curate a diverse and high quality set of prompts from publicly available datasets with clear provenance and synthetically generate prompts to fill any gaps.
Since the release of our Tülu 2, the community has witnessed a large body of work creating datasets for post-training, in terms of both supervised finetuning and preference tuning. Tülu 3 aims to integrate and extend these resources to build stronger models. We start this process with a broad survey of public datasets, including those annotated by dedicated workers, sourced from real users, and synthesized with models. We then manually review each individual dataset, and pick those with the following considerations.
The diversity of training data is critical for eliciting models’ generalization, avoiding model forgetting, and making models robust to uncommon inputs (Wang et al., 2022c; Chung et al., 2024; Zhou et al., 2024). We pick datasets that can promote diversity, including: WildChat (Zhao et al., 2024), which is a large source of real-user interaction with models; Open Assistant (Köpf et al., 2024), which is created by volunteer workers for general chatting; No Robots (Rajani et al., 2023), which is annotated by expert workers for a broad range of open-ended categories; and FLAN v2 (Longpre et al., 2023), which is a big compilation of classical NLP tasks. We also include a decontaminated subset of UltraFeedback (Cui et al., 2023), which is a composition of several datasets (FalseQA (Hu et al., 2023), UltraChat (Ding et al., 2023), Evol-Instruct (Xu et al., 2023), FLAN v2 (Longpre et al., 2023)) and has shown strong performance for general preference tuning in early studies (Tunstall et al., 2023; Ivison et al., 2024).
We especially consider enhancing several capabilities that can power common use cases and our specific needs. As shown in our earlier study (Wang et al., 2023), some capabilities, such as complex reasoning, coding, and precise instruction following, benefit from mixing in additional data. Therefore, we include the following datasets: OpenMathInstruct (Toshniwal et al., 2024) and NuminaMath (Beeching et al., 2024) for mathematical reasoning, Evol-CodeAlpaca for coding, a subset of Daring-Anteater (Wang et al., 2024d) for precise instruction following, Aya (Singh et al., 2024b) for multilinguality, SciRIFF (Wadden et al., 2024) for scientific literature understanding, and TableGPT (Zha et al., 2023) for processing table-related tasks. We have also considered other datasets for domains with plenty of published research (e.g., math), but they either did not bring additional benefits in our early supervised finetuning experiments or have restrictive licenses.
When sourcing prompts, we take careful consideration of the licenses of the original datasets and only allow those with clear and correct licenses. Since many publicly released datasets are compositions of other datasets, we have to manually track the provenance of subsets to verify their licenses and remove those that have issues. Specifically, the ShareGPT dataset is of questionable legal provenance as they were shared by users on the internet without an agreement to be used for model training or being released at all, so we exclude it and use WildChat instead. We also removed the relevant subset from UltraFeedback and decided not to use Helpsteer2 (Wang et al., 2024d) due to the use of ShareGPT in their prompts. All the datasets included in our final curation have clear licenses.
To address the growing need for diverse and skill-specific datasets, we incorporate synthetic data generation as a complementary approach. Synthetic data generation has gained traction as a promising alternative to human-written data due to being cheaper to obtain, customizable for different purposes, and reflecting the vast knowledge of the underlying models (Dubey et al., 2024). However, generating diverse and high-quality data at scale is non-trivial, as LMs are susceptible to falling into repetitive modes or patterns, referred to as “mode collapse” (Kazdan et al., 2024). To ensure diversity in generation, we follow the recent persona-driven methodology in Chan et al. (2024) to generate synthetic data. The key idea is to use different personas (e.g., “A machine learning researcher focused on neural networks”) with a data synthesis prompt (e.g., “create a coding problem”) to steer an LLM to synthesize data with corresponding perspectives. Specifically, we condition on 250K personas from Persona Hub (Chan et al., 2024) to generate prompts targeting specific skills such as precise instruction following, math and coding. We detail our procedure for each select skill below. Prompts used to generate these instructions can be found in Appendix C.1. Additionally, we build upon our previous efforts in Brahman et al. (2024); Han et al. (2024); Jiang et al. (2024), to generate noncompliance and safety data.
Precise Instruction Following. Precise instruction following is the ability to follow verifiable instructions in natural language, such as “your answer should contain exactly 3 paragraphs,” that can be automatically verified with heuristics. We use our persona-driven approach to synthetically generate verifiable instructions covering 25 different constraint types defined in IFEval benchmark (Zhou et al., 2023). More concretely, we start by manually writing 1-2 example instructions per constraint (e.g., number of words), resulting in total of 33 verifiable instructions which we used as seed prompts. We then generate new instructions using GPT-4o (OpenAI, 2024) given a data synthesis prompt, persona, and a single verifiable instruction as an example. Figures 30 and 31 show the exact prompts used to generate the instruction and its corresponding response, respectively. In total, we collected 29,980 verifiable instruction-response pairs which we call If-Persona-Sft. Lastly, we also generate another type of prompts targeted for constrained instruction following by randomly sampling instructions from the Tülu 2 SFT mix and combining them with constraints from the taxonomy in Zhou et al. (2023). We call that set IF-augmented. These prompts are only used for the DPO and RLVR stages.
Math and Coding. We follow a similar persona-driven approach to synthetically generate diverse math word and coding problems. Math problems include those that require advanced mathematical skills as well as grade school problems. For coding, we generate Python programming questions that are solvable by entry- to medium-level programmers. Unlike precise instruction following, we zero-shot prompt GPT-4o to generate problems that are unique and specific to a given persona input. Having generated the problems, we then generate multi-step math solutions using GPT-4o, and Python programs using claude-3-5-sonnet. Exact prompts used to generate problems and solutions are provided in Figures 33, 35, 34, and 36, respectively. In total, we collected 220K and 35K instances for math reasoning and coding.
Noncompliance and Safety. As we enhance models’ capabilities to assist users effectively, it is crucial to ensure they can reliably reject unsafe and appropriately handle nuanced and out of scope queries. To support this, we curate a set of noncompliance queries (Brahman et al., 2024) that the model ought to not comply with, alongside safety-related direct and adversarial prompts (Han et al., 2024; Jiang et al., 2024) covering both benign and harmful scenarios. Our noncompliance and safety prompts are either curated from existing datasets (Zhang and Choi, 2021; Zhao et al., 2024) or synthetically generated from the GPT model family. More specifically, our noncompliance prompts are obtained based on our contextual noncompliance taxonomy from Brahman et al. (2024), spanning multiple categories including incomplete, unsupported, indeterminate, and humanizing requests (in addition to unsafe requests). Our safety-related prompts are carefully selected among synthetic adversarial prompts, synthetic vanilla (direct) requests, real-world user-LLM interactions (In-The-Wild), and curated annotator-written examples to maximize coverage, diversity, and balance.
| Dataset | Eval. | Link | % |
| Evol CodeAlpaca | HumanEval | Orig: ise-uiuc/Magicoder-Evol-Instruct-110K | |
| New: allenai/evol_codealpaca_heval_decontaminated | 3.5 | ||
| WildChat GPT-4 | Safety | Orig: allenai/WildChat-1M-Full (GPT-4 instances only) | 5.4 |
| New: allenai/wildchat_gpt4_converted_safety_decontaminated | |||
| WildJailbreak | Safety | Orig: allenai/wildjailbreak | |
| New: allenai/wildjailbreak_safety_decontaminated | 0.7 | ||
| WildGuardmix | Safety | Orig: allenai/wildguardmix | 1.1 |
| New: allenai/wildguardmixtrain_safety_decontaminated | |||
| NuminaMath-TIR | MATH | Orig: AI-MO/NuminaMath-TIR | |
| New: allenai/numinamath_tir_math_decontaminated | 11.3 |
View original table

One important consideration when curating our training mix was possible overlap between training prompts and evaluation sets. We quantify such overlap as follows and remove instances from our training mix as needed in order to prevent test set contamination.
Matching Method. We experimented with full-string, n-gram, and embedding-based matching and found that n-gram matching yielded the most useful results — while embedding-based methods can in principle identify non-trivial contamination like that due to paraphrasing (Yang et al., 2023), we found it difficult to distinguish mere distributional similarity from actual paraphrasing. Moreover, partial surface-level overlap using n-gram matching successfully identified cases of contamination where the instances were trivially different, e.g., a math problem where only the numbers differ.
Identifying Matching Instances. Since completions in training datasets are often regenerated using language models, we chose to compute overlap in the prompts alone (or more generally user turns in multi-turn dialogues). We used 8-gram matching for our contamination checks following (Dubey et al., 2024; Singh et al., 2024a). For each token in a test instance, we consider it to match a token in a train instance if the two instances share an 8-gram containing that token, and we consider the test instance itself to have significant overlap with a train instance if more than 50% of the test tokens have 8-gram matches with the same training instance.
Decontamination. We consider a training set to be contaminated if any number of its instances overlap with more than 2% of the instances in any of the evaluations in our development and unseen suites. We remove all the training sets that were contaminated with our unseen evaluations. For training sets that were contaminated with our development evaluations, we removed the entire dataset if doing so did not significantly impact the performance of the resulting model; otherwise, we removed the specific instances that match any test instance.
Adapting pretrained base models to various tasks and user requests often relies on supervised finetuning (SFT), also known as instruction finetuning. A key challenge in this process is balancing the proportions of mixed training datasets representing diverse skills. For Tülu 3, we conducted data mixture ablations and explored model merging techniques to develop an SFT training procedure that well balances performance across the core skills we prioritized. The following sections detail our experiments and findings.

To create our SFT mix, we collect or create responses for prompts described in Section 3 in two ways: filtering existing responses, and creating new responses.
For prompts with existing responses, we generally keep the original response if it was written by a human or a frontier model, like GPT-4o. For large datasets with subsets from frontier models (e.g. WildChat), we use the subset from the best models. We additionally filter empty responses and responses that contain information about models or their developers. If a set of prompts did not have responses, like our Persona prompts, or if the original responses were from a weaker model (e.g. WildGuardMix), we generate new responses using GPT-4o. We also hand-wrote responses to our hardcoded prompts.
To develop our SFT mix, we first identified the skills that were lagging behind state of the art models using Llama 3.1 trained on Tülu 2 as our baseline. Targeting each of these skills in isolation, we collected high quality publicly available datasets and created synthetic datasets, as described in Section 3.1.2, and also removed some datasets that we identified to be of relatively lower quality compared to other more recent datasets.
To design our final SFT mix, we first built skill-specific data mixtures and models, keeping the mixtures that led to the best performance on individual skills, ignoring other evaluations. This was done to approximate the upper bound for each evaluation given our setup.
We then combined these mixtures to create our initial Tülu 3 preview mix. We then continued to iterate on the mixture by adding or removing datasets to improve lagging skills, decontaminating against our evaluations and downsampling particularly large datasets. We show the performance of major preview versions throughout development in Figure 3.

In Table 9, we compare our final Tülu 3 8B SFT and Tülu 3 70B SFT models against other SFT-only models trained on Llama 3 8B or 70B. Our new SFT mix shows substantial improvements over the Tülu 2 mix at both model sizes, and is better on average the other competitive 8B SFT models.

We also ran a series of controlled experiments after developing our final SFT mix to explore the importance of different decisions made during data mixing and training.

In our mix we also emphasized adding diverse chat data, mainly from WildChat. We show the impact of removing WildChat in Table 10, and we see that there is a small but noticeable degradation on most skills, most noticeably on Alpaca Eval, highlighting the importance of diverse real-world data.
We found that our safety SFT data was generally orthogonal to our other datasets. We report the effect of removing our safety-specific datasets in Table 10, and we see that most skills stayed roughly the same, except the safety average. We also found that adding contrastive prompts, such as those in CoCoNot, were helpful for preventing our models from over-refusing safe prompts.
Our new Persona datasets were built to target specific skills: mathematics, coding, and instruction following. In Table 10 we show that performance on HumanEval(+), GSM8K, MATH, and IFEval drop after removing our Persona datasets, showing the value of creating diverse, skill-specific SFT datasets.
A large portion of our focus was on collecting or creating datasets targeting specific capabilities. Using mathematical reasoning as an illustrative example, we show in Table 10 the impact of our mathematics-specific data on both GSM8K and MATH. We see that our mathematics-specific SFT data substantially improves both GSM8K and MATH, showing the value of the data included in the final mix.
In Figure 4, we show the effect of taking stratified subsamples of our SFT mix. We find that our models continue to improve on average as more SFT data is included, and we see large improvements on metrics like GSM8K as we increase the amount of data to the full mix. Interestingly, TruthfulQA performance actually drops as the amount of data in the mix increases. We do not increase our SFT data size beyond the current mixture because we allocated other prompts for preference optimization.
| Hyperparameter | 8B | 70B |
| Learning Rate | 5 10 | 2 10 |
| Learning Rate Schedule | Linear | Linear |
| Batch Size (effective) | 128 | 128 |
| Max Token Length | 4,096 | 4,096 |
| Warm up ratio | 0.03 | 0.03 |
| Number of Epochs | 2 | 2 |
View original table

To train our Tülu 3 models, we used between 4 and 16 8xH100 nodes with high speed interconnect. The final 8B model is trained on 32 GPUs for 6 hours and the 70B model was trained on 64 GPUs for 50 hours. We used an effective batch size of 128 and a maximum sequence length of 4,096 tokens. We trained for two epochs using a learning rate of 5e-6 for our 8B models, and 2e-6 for our 70B models, which we found after a hyperparameter search. Our hyperparameter settings are also summarized in Table 11. For merging experiments we used mergekit (Goddard et al., 2024), using linear weighted averaging.
We also test the effect of training different base pretrained models on mathematical performance using our full SFT mix. In Table 12, we show the impact of changing the model’s size by training on both Llama 3.1 8B and 70B, and the impact of adding domain-specific pretraining data by training on Qwen 2.5 7B and Qwen 2.5 Math 7B. In both cases, we see a substantial improvement in both GSM8K and MATH, highlighting the importance of both model size and pretraining data for downstream skills.

During creating Tülu 3, we explored changing the chat template used to guide the generation of finetuned models. We made a small change to the chat template used in previous Tülu versions, specifically removing the new line at the end of the template (before the model response). The performance between different changes to the chat template is shown in Table 13 on an early version of our SFT setup. We found that replacing the newlines at the end of assistant messages with an eos token resulted in the best performance, but we opted not to use this to avoid generation inconsistency with later steps in our post-training pipeline. The chat template can be found in our codebase and we provide it in Appendix B.3.

We also explored changing the random seed during SFT, and then using those models to create model soups (Wortsman et al., 2022). In Table 14, we compare training 8B and 70B models with multiple different seeds with the best model soup. We see that SFT performance noticeably varies based on the seed, highlighting the importance of multiple training runs, and that the best model soup does not always outperform the best single training run. Because of this, we use the best single SFT training run for each model size as our final SFT models.


Early during training Tülu 3, we noticed a gap in performance between SFT models trained on our Open-Instruct framework and models trained in other settings such as on TPUs. We found this issue was largely due to a (recently widely-reported) issue with loss aggregation inside Transformers (Wolf et al., 2020): Averaging the loss across padding tokens without taking into account gradient accumulation or distributed training setups.
Here, we illustrate the issue with an example. Assume we have two samples in a batch, with , non-padding tokens and , padding tokens. If we pass both samples into the default Transformers forward pass at the same time, we get:
However, if we apply gradient accumulation, feeding in the two samples separately, computing loss, and then dividing, our loss is instead computed like:
That is, in the second case we weight each example equally, while in the first we weight each token equally. As such, changing gradient accumulation can have large effects on performance due to effectively changing sample weightings, as reported by Muennighoff et al. (2024). A similar issue occurs in distributed training due to cross-device averaging. We refer to recent reports on this issue for a more in-depth explanation.
To fix this issue, we opted generally to use a sum loss instead of averaging (‘mean loss’) when training. This removes the issue by simply removing the denominator from the above equations and requires an adjustment to learning rates. This effectively weights all tokens equally (which we found led to generally better performance for initial mixtures). We validated the perfomance of our setup by finetuning Llama 3.0 on the Tülu 2 SFT mixture using a variety of learning rates, epochs, and loss types as shown in Figures 5 and 6. Ultimately, we found that using a sum loss with a learning rate of 5.00E-06 worked best. Surprisingly, we additionally found that training for longer did not yield further improvements, and so used 2 epochs for training.


For Tülu 3 we explore many approaches to preference finetuning with the goal of improving our entire evaluation suite. We explore multiple training algorithms, from Direct Preference Optimization (DPO) and its derivatives to reinforcement learning algorithms such as Proximal Policy Optimization (PPO). In this section, we detail the problem formulation of learning from human preferences and our optimizers. Next, we explain how to convert our prompts into synthetic preference data from both on-policy (Tülu 3 suite) and off-policy models (other instruct models). We show how to create preference data for specific skills of interest and how we improve our models robustly with DPO.
Prior work has established training on preference data as a crucial step for improving model performance on benchmarks simulating human or synthetic preferences (Dubois et al., 2023; Ivison et al., 2023; Ivison et al., 2024). The typical procedure is reinforcement learning from human or AI feedback (Ziegler et al., 2019; Stiennon et al., 2020; Ouyang et al., 2022; Bai et al., 2022).
Preference Data. In the standard setup, there is some preference dataset consisting of prompts and two responses per prompt. Some judge(s) will choose one of as their preferred response , and label the other as a rejected response .
Reward Model. Given the preference dataset, a reward model (RM) is trained with the following objective:
where is the logistic function. The RM objective maximizes the difference between the rewards, and this difference represents the log-likelihood that will be preferred over (Ouyang et al., 2022). This reward model can help train policy models to output contents preferred by the RM’s judgments.
There are a plethora of options for optimizing language models with access to preference data. Today, the two categories can be abstracted as reinforcement learning algorithms, which learn from an internal representation of value or reward, and direct alignment algorithms, which learn directly from the data.
Prior work (Ziegler et al., 2019; Stiennon et al., 2020; Ouyang et al., 2022) optimizes the policy with the following objective:
where is the initial reference policy and the coefficient helps control the Kullback-Lieber divergence (KL) divergence between the reference policy and the training policy. Here, we explain PPO and DPO as representative examples.
Proximal Policy Optimization (PPO). An approach to address the above objective is to use online reinforcement learning (RL) like PPO (Schulman et al., 2017). In each training iteration of PPO, the policy needs to generate some samples, generate rewards using the RM on those samples, and maximize using the PPO algorithm. As PPO training loops are complex, we refer the reader to Ouyang et al. (2022); Ivison et al. (2024); Huang et al. (2024a) for more thorough descriptions of the setup and typical setups. We provide more implementation details in Sec 6.2.
Direct Preference Tuning (DPO) and Variants. Another approach is offline preference tuning. DPO (Rafailov et al., 2024) can directly optimizes for the RLHF objective with the following equivalent objective:
DPO trains an implicit reward model and a policy model simultaneously, without needing to use a trained reward model, do policy generations, and get rewards from the RM. Crucially, this allows offline preference finetuning, directly training a language model on preference pairs gathered from a variety of sources. Recently, much work has examined how to further improve the DPO objective, with a multitude of variants proposed (Meng et al., 2024; Xu et al., 2024a; Hong et al., 2024, inter alia). In this work, we explored two promising variants: SimPO (Meng et al., 2024) and length-normalized DPO. We find (in Section 5.4) that length-normalized DPO works best, which uses the following objective:
As seen, this is simply the DPO objective (Eq 5), but with log-probabilities normalized for length, which intuitively aids with mitigating the length bias common in human and model preferences (Singhal et al., 2024).
When developing Tülu 3, we opted to use length-normalized DPO for tuning our preference data mixtures and generation methods due to its relative simplicity and speed compared to approaches such as PPO.
We create on-policy preference data given our prompts from §3 by adapting and advancing the UltraFeedback pipeline (Cui et al., 2023). Our early experiments show the benefit of this pipeline in creating preference data, which leads to a high-quality, synthetic preference dataset (as observed by Ivison et al. (2024)). Our data creation pipeline (shown in Figure 7) consists of three stages: prompt selection, response generation from a pool of models, and preference annotation with LLM-as-a-judge to create (preferred, rejected) pairs.

- •
Stage 1: Prompt Selection The first step for preparing a dataset for preference finetuning is to select the prompts or user instructions to generate responses and obtain preferences for. Given the set of prompts in Table 7, we curate our selection to include prompts used during SFT, and prompts that were subsampled from the same sources, yet unused, for SFT. We also include prompts from other sources, such as a version of Ultrafeedback without TruthfulQA instances, or by adding new IF-constraints to a prompt.
- •
Stage 2: Response Generation For a given prompt, we randomly sample four models from a model pool to generate responses. Our model selection is inspired by the Ultrafeedback pipeline which consists of open-source and proprietary models that vary across parameter size and model family. We update Ultrafeedback’s model pool by using recent versions of some models (Llama 2 Llama 3.1), adding best-performing models to increase the pool size, and replacing currently inaccessible models such as WizardLM with open-source alternatives.
Finally, we also include on-policy data by sampling completions from the Tülu SFT model. We approach this by adding a selection of prompts where one response is generated from the on-policy model, and the other response from the off-policy models.
- •
Stage 3: Preference Annotation After generating four responses for each prompt, we use an LLM-as-a-judge (Zheng et al., 2023), specifically GPT-4o-2024-0806, to rate each response from 1 to 5 across four different aspects: helpfulness, instruction-following, honesty, and truthfulness.
Appendix D shows the external models used to sample off-policy data and the prompt template for each aspect. In order to obtain binary preferences for DPO, we obtain the mean of preference ratings similar to Argilla’s binarization method and take the highest-rated response as the chosen response and randomly sample from the responses with the lower mean as the rejected response.
| Dataset | Count | 8B | 70B |
| SFT Reused On-policy | 19,444 | ||
| SFT Reused Off-policy | 96,911 | ||
| IF-Augmented | 65,530 | ||
| WildChat IF | 10,792 | ||
| WildChat Reused | 17,207 | ||
| WildChat Unused | 82,783 | ||
| Ultrafeedback (Cleaned) | 41,635 | ||
| Persona IF | 19,890 | ||
| Total | 354,192 | 271,409 | 334,302 |
View original table

We choose the final preference mix for the 8B and the 70B model, which maximizes average performance on the development evaluations, while also exceling at targeted skills. Most of the preference data mix ablations are run for the 8B model, We start with prompts used for SFT and generate on-policy and off-policy preference data, resulting in 96,911 (off-policy) and 19,444 (on-policy) preference instances. Given this preference base we ablate adding additional prompt sources to the mix and how these additions affect downstream evaluation performance, specifically targeting skills like precise instruction following, math and general chat performance on AlpacaEval. Table 16 shows how the inclusion or exclusion of preference datasets influences the average performance. Our final mixes for Tülu 3 8B DPO and Tülu 3 70B DPO are displayed in Table 15. In summary, our preference mixes come from different prompt sources, such as SFT data, WildChat and Persona IF. It includes prompts seen during SFT training but also new, unseen prompts.
| SFT Mix | P-IF | WildC.-IF | SFT-IF | WCβ | WCα | UFδ | DA | UF | CocoNot | Avg. |
| 62.27 | ||||||||||
| 61.99 | ||||||||||
| 61.83 | ||||||||||
| 61.76 | ||||||||||
| 61.59 | ||||||||||
| 61.55 | ||||||||||
| 61.35 | ||||||||||
| 61.29 | ||||||||||
| 61.25 | ||||||||||
| 61.17 | ||||||||||
| 60.87 | ||||||||||
| 60.86 | ||||||||||
| 60.84 | ||||||||||
| 60.54 |
View original table

We perform several ablations to inform the design decisions of the synthetic preference pipeline (§5.2.1) and the composition of the Tülu 3 preference mix (§5.2.2).
Initial 8B SFT 5% 10% 25% 50% 75% 100%







Initial 8B SFT 64k 180k 383k




First, we investigate whether increasing the number of prompts will yield improvements in downstream DPO performance. To do so, we measure the downstream DPO model performance at different sizes of a fixed amount of preferences with unique prompts. Figure 8 shows that there are noticeable performance gains across several metrics as the size of the preference dataset increases. This suggests that dataset scaling is important to achieve improvements in downstream model performance: our final preference mixes (Table 15) contain more than 270k data points for the 8B model and more than 330k instances for the 70B model, which is considerably bigger than many available preference datasets.
We also explore whether duplicating prompts, i.e. same prompts with different responses, is a viable approach to scaling the size of a preference dataset and whether it will lead to gains in downstream DPO performance. To do so, we expanded the Ultrafeedback dataset, which originally had four responses for each prompt, by creating additional pair combinations of responses. This expansion will naturally cause duplicated prompts, but with different chosen and rejected pairs sampled from the four responses in UltraFeedback, leading to preference datasets with 64k-, 180k-, and 383k instances. Figure 9 shows that, on average, the 383k-size preference dataset performs similarly to the 64k preference dataset. We also observe a slight performance degradation on DROP, GSM8k, and AlpacaEval as the number of duplicated prompts increase. This suggests that scaling via prompt duplication does not necessarily yield into significant gains in downstream DPO performance, and investing in the collection of unique prompts and proper mixing is more important for downstream evaluations.
We then compare including new prompts and re-using prompts from the SFT stage on their effect on downstream DPO performance. To do so, we sampled 100k prompts from the SFT dataset mix that were used during training (as shown in Table 7) and compare it against prompts from the same open datasets (e.g., OpenAssistant, SciRIFF, Aya, Persona, WildChat, etc.) we subsampled from but left unused during SFT. Figure 10 shows that the unused dataset has a slightly higher performance as opposed to reusing prompts. This suggests that the presence of new prompts can help improve downstream DPO performance. Though, as seen in our best mix, combining unused and reused prompts seems to lead to the best result.
We investigate whether the inclusion of on-policy data, i.e., text generations from the SFT model that will be used as the base model for preference finetuning, improves downstream model performance. Given the same set of prompts sourced from the SFT mix in §4, we generate preferences from off-policy models and compared it to a mix that is strictly on-policy (i.e., one of the response is always from the Initial 8B SFT model, and the other response is from the off-policy models). We also compare it on a combination of both on-policy and off-policy data: we sample instances from the strict on-policy dataset and add it to the off-policy dataset so that the responses from each model is distributed equally. Figure 11 shows that including on-policy data improves aggregated downstream DPO performance compared to a completely off-policy dataset where prompt completions were sampled from other models.

Text in this graphic
[Uncaptioned image]


Text in this graphic
[Uncaptioned image]

In order to determine which judge to use for obtaining preference annotations, we test several commercial and open-source LLM judges such as GPT-4 (GPT-4-turbo-2024-04-09, GPT-4o-2024-08-06, gpt-4o-mini-2024-07-18) and Llama 3.1 (70B and 405B) on the same set of 10k randomly-sampled Ultrafeedback prompts and responses. In general, GPT-4o, Llama 3.1 405B, and GPT-4 Turbo perform similarly across all benchmarks, with GPT-4o leading slightly ahead on the aggregated average performance as shown in Table 17. In the synthetic preference pipeline for Tülu 3, we opted for GPT-4o-2024-08-06 due to its ease-of-use, cheaper cost per request, and batch inference speed via OpenAI’s Batch API.

Previous work on preference learning using openly available datasets has shown that the UltraFeedback (Cui et al., 2023) preference dataset generally outperforms other preference datasets (Ivison et al., 2023). In Figure 12 we show that we were able to significantly surpass DPO training on UltraFeedback by training on our best mix. The improvement is greater for the 70B model (+3.3 vs. +1.8), we hypothesize that this is because UltraFeedback’s completions are mainly sourced from models that are less capable than the 70B model we are starting with. Helpsteer2 Wang et al. (2024d), another high-quality preference dataset, also performs lower than our best mix on the 8B model.

From the three persona preference datasets targeting instruction following, coding and math skills, only Tülu 3 Persona IF improves the average eval score and the targeted IFEval score (see Figure 13). Neither Tülu 3 Persona Math nor Tülu 3 Persona Code improve their respective targeted evaluations and slightly harm the average score. We therefore only include the Tülu 3 Persona IF preferences in our final mix.

We created preference data targeted to improve a model’s precise instruction following skills.
- 1.
Persona IF: We take a subset of our collected instruction following SFT dataset, If-Persona-Sft and convert it into a preference dataset. Each example in If-Persona-Sft dataset contains a (prompt, constraints, response) tuple. We start by rewriting each prompt in the subset to relax one of the given constraints. More specifically, we prompt GPT-4o to generate rewrites such that the new response to the modified prompt is no longer a valid response for the original prompt (does not satisfy all the constraints). We then use the response to the new modified prompt as the rejected response, and create (chosen, rejected) pairs to form our If-Persona-Pref dataset containing close to 20K examples.
- 2.
IF-augmented: We randomly sample instructions from the Tülu 2 SFT mix and combine them with constraints from the taxonomy in Zhou et al. (2023). The chosen and rejected completions are obtained through the synthetic pipeline in §5.2.1.
- 3.
WildChat IF: We sample instructions from WildChat (Zhao et al., 2024) which contain constraints. For this purpose we asked GPT-4 to extract whether or not a prompt includes a constraint.
For IF-augmented, we run two analyses. We generate an additional set of more than 66k instances and we then run the chosen completions through constraint verifier functions, and only add those instances to the final set which actually fulfilled the constraint(s). This leaves us with a cleaned set of about 26k preferences, which we call IF-augmented-verified. In Figure 15 we show that the IF-persona preferences significantly improve IFEval scores beyond the baseline mix, while minimally harming average performance. The IF-augmented-verified dataset improves IFEval performance only by 1 point, while also slightly harming the average performance. Combining IF-persona with IF-augmented-verified leads to the best IFEval performance, but to a slightly lower average. We therefore choose to include IF-augmented (not verified) and Persona IF in the final 8B DPO mix, which leads to both a satisfiying average and IFEval score.

Our ablations show that adding preference data consisting of WildChat prompts and chosen/rejected pairs obtained using our synthetic preference data pipeline, generally improves DPO performance. Ablations in Figure 5.2.2 reveal that adding WildChat prompts seen during SFT training to the DPO mix leads to better average performance than combining the unused with the reused WildChat prompts.
We also investigate whether the preference dataset generated by the synthetic pipeline in §5.2.1 can yield to gains in downstream DPO performance on existing datasets. To do so, we take the prompts from open-source datasets such as Helpsteer2, Ultrafeedback, and MultiPref (Miranda et al., 2024), then regenerate their completions and preference annotations using the synthetic data pipeline. Figure 15 shows that the downstream DPO performance of the regenerated dataset is better than the original dataset, suggesting that the synthetic pipeline itself can yield to performance gains.
| Algorithm | LR | ratio | Epochs | Batch Size | Average Score | |
| SFT Base | - | - | - | - | - | 55.7 |
| SimPO | 5.00E-07 | 0.5 | 2 | 1 | 128 | 51.8 |
| SimPO | 5.00E-07 | 0.3 | 10 | 1 | 128 | 52.9 |
| DPO | 5.00E-07 | - | 0.1 | 3 | 32 | 55.2 |
| PPO | 1.00E-06 | - | 0.0325 | 1 | 64 | 54.5 |
| PPO | 1.00E-06 | - | 0.05 | 1 | 64 | 55.5 |
| DPO-norm | 1.00E-07 | - | 5 | 3 | 32 | 56.1 |
| DPO-norm | 5.00E-07 | - | 10 | 3 | 32 | 55.2 |
| DPO-norm | 5.00E-07 | - | 15 | 3 | 32 | 55.7 |
| DPO-norm | 5.00E-07 | - | 2 | 3 | 32 | 46.8 |
| DPO-norm | 5.00E-07 | - | 5 | 3 | 32 | 53.4 |
| DPO-norm | 5.00E-07 | - | 5 | 1 | 32 | 57.3 |
View original table

| Data | LR | Avg. Performance |
| Mix 1 | 5.0 10 | 72.74 |
| 2.0 10 | 71.17 | |
| 1.5 10 | 71.12 | |
| 1.0 10 | 71.06 | |
| Mix 2 | 5.0 10 | 71.14 |
| 2.0 10 | 74.35 |
| Hyperparameter | 8B | 70B |
| Learning Rate | 5 10 | 2 10 |
| Learning Rate Schedule | Linear | Linear |
| Batch Size (effective) | 128 | 128 |
| Max Token Length | 2,048 | 2,048 |
| KL penalty coefficient | 5 | 5 |
| Warm up ratio | 0.1 | 0.1 |
| Number of Epochs | 1 | 1 |
Table 20 Final DPO Training Hyperparameters. We use the length-normalized variant of DPO proposed in Meng et al. (2024).
View original table

In light of the significant amount of work on improving DPO and related algorithms since the release of Tülu 2, we revisited our hyperparameter and algorithm choices alongside our preference datasets. We ablated both algorithm and hyperparameter choices using an early SFT checkpoint and the UltraFeedback dataset. We explored using DPO, SimPO (Meng et al., 2024), and length-normalized DPO. Our results are shown in Table 18. We found that only length-normalized DPO outperformed our base checkpoint overall, and so further tuned it, resulting in the final hyperparameters shown in Table 20.
We lowered the learning rate and increased the batch size for the 70B training based on the fact that it is common to lower the learning rate and increase batch size when doing SFT with larger models (Touvron et al., 2023).
The 8B DPO model is trained for 10 hours on 8 Nvidia H100 GPUs and the 70B DPO model is trained for 19 hours on 64 interconnected H100s.
The DPO training uses a maximum sequence length of 2048.
| Hyperparameters | for optimizing a RM | for optimizing against RLVR |
| Discount Factor | 1.0 | 1.0 |
| General Advantage Estimation | 0.95 | 0.95 |
| Mini-batches | 1 | 1 |
| PPO’s Clipping Coefficient | 0.2 | 0.2 |
| Value Function Coefficient | 0.1 | 0.1 |
| Gradient Norm Threshold | 1.0 | 1.0 |
| Learning Rate Schedule | Linear | Linear |
| Generation Temperature | 1.0 | 1.0 |
| Max Token Length | 2,048 | 2,048 |
| Max Prompt Token Length | 2,048 | 2,048 |
| Penalty Reward Value for | ||
| Responses without an EOS Token | -10.0 | -10.0 |
| Learning Rate | 3 10 | 3 10 (1 10 for 70B) |
| Batch Size (effective) | 224 | 224 (640 for 70B) |
| PPO Update Iterations | 1 | 4 |
| Response Length | 1,024 | 2,048 (1,024 for GSM8K only) |
| Total Episodes | 300,000 | 100,000 |
| KL penalty coefficient () | [0.05, 0.03, 0.02, 0.01] | [0.1, 0.05, 0.03, 0.01] |
| Warm up ratio () | [0.1, 0.0] | [0.0, 0.1] |
View original table

We ran a small hyperparameter search over a set of leraning rates using a generally well performing preference data mix and our final best mix. Table 20 shows that either a learning rate of 2.0 × 10-7 or 5.0 × 10-7, depending on data mix, performs better than a lower learning rate. For our final DPO models we decided on using a learning rate of 2.0 × 10-7.
We also conducted a more in depth ablation study comparing PPO and DPO later in development. We anchored a DPO preference mix in the development history to train an RM. We use the same setup as Stiennon et al. (2020); Ouyang et al. (2022); Huang et al. (2024a), we only extract the RM’s logits at the end-of-sequence (EOS) token as the reward model. Also, the linear head to output reward scalars is initialized with weights according to . We use the same prompts in the DPO preference mix to make a controlled comparison between DPO and PPO.
The reward model was trained only once and we did not attempt to tune the RM’s performance. Evaluating RM’s performance can be tricky because strong RM performance on RM-specific benchmarks does not necessarily translate to better downstream performance for PPO (Ivison et al., 2024; Chen et al., 2024). Furthermore, iterating with RM and PPO is more expensive than iterating with DPO, so we decided to do most of our preference tuning experiments via DPO. The hyperparameters for the RM and PPO can be found in Table 36 and Table 21. The results can be found in Figure 17.
Here are our findings:
- 1.
PPO Gets Similar Average Scores with DPO in this Non-Tuned Setup Overall, we found that PPO could reach a comparable level of performance to DPO (albeit slightly lower) in this controlled setup.
- 2.
PPO is More Computationally Expensive The PPO runtime is roughly 28 hours using two nodes, whereas the DPO runtime is about 4 hours using a single node.
If we use more computational budget or do more tuning, it is entirely possible that we can push up the PPO’s performance even higher. However, given limited resources and the subtlety in RM evaluation, using DPO for preference tuning seems more economical. We decide to use PPO primarily for RLVR, to be introduced in Section 6.
To run the 70B DPO training, we found it useful to implement two key optimizations for reducing the GPU footprint of DPO training:
- 1.
Caching DPO Log Probs To reduce GPU memory usage, we pre-compute and cache log probabilities across the dataset using the initial model, rather than keeping a reference DPO model in memory during training like the canonical implementation (von Werra et al., 2020; Rafailov et al., 2024). This optimization eliminates the need to allocate GPU memory for the reference model.
- 2.
Separate Forward Passes for Chosen and Rejected Sequences The canonical DPO implementation (von Werra et al., 2020; Rafailov et al., 2024) also concatenates the chosen and rejected sequences during the forward pass, effectively doubling the batch size and increasing GPU memory requirements. To save GPU memory, we simply perform the forward passes separately on the chosen and rejected completions.

We empirically validated these two techniques on the Llama 3.1 model and found they resulted in near identical training losses. As expected, the model uses less GPU memory when using the two techniques on an 8xH100, as shown in Figure 17.


In Tülu 3, we introduce Reinforcement Learning with Verifiable Rewards (RLVR), a novel method for training language models on tasks with verifiable outcomes such as mathematical problem-solving and instruction following. RLVR leverages the existing RLHF objective but replaces the reward model with a verification function, as shown conceptually in Figure 18. When applied to domains with verifiable answers, such as mathematics and verifiable instruction following tasks (Zhou et al., 2023), RLVR demonstrates targeted improvements on benchmarks like GSM8K while maintaining performance across other tasks. RLVR can be seen as a simplified form of existing approaches for bootstrapping LM reasoning (Zelikman et al., 2022; Zelikman et al., 2024; Hoffman et al., 2023) or a simpler form of RL with execution feedback (Gehring et al., 2024), in which we simply use answer matching or constraint verification as a binary signal to train the model. While this has been done for improving math skills alone in prior work (Kazemnejad et al., 2024), we further extend RLVR to cover multiple evaluations and test how it can improve overall model performance, integrating it as a component of a generalist training pipeline.
RLVR is based on a simple principle, common in RL literature, applied to language models: the policy only receives a reward when its generated responses are verifiably correct. More specifically, RLVR optimizes the following objective:
where is the verifiable reward function. takes in a prompt and completion pair , and checks if the answer is correct within the generated text:
We train models with RLVR following preference finetuning, and we use the PPO (Schulman et al., 2017) algorithm to optimize for the RLVR objective. We set based on pilot experiments and did not tune it further.
Creating data for RLVR entails obtaining prompts with an accompanying binary verifier (i.e., constructing a set of inputs with accompanying verifier functions ). We focus on two domains (mathematics, exact instruction following) and three evaluations (GSM8K, MATH, IFEval) with relatively straightfoward methods for verification, and leave more complex verifiers to future work. In practice, the answer extraction and verification method is domain-dependent. We use three sources of training prompts and verifiers:
We use the GSM8k training set. We augment each sample with the standard 8-shot prompt using during evaluation to encourage the model to use chain-of-thought, and then extract the final number produced and compare to the ground-truth label to determine correctness.
We use the MATH training set. Similar to GSM8k, we augment each sample with the standard 3-shot CoT prompt used to encourage the model to generate chains of thought during evaluation, and then extract the answer and determine correctness following the ‘flex’ MATH evaluation logic.
We randomly sample instructions from the Tülu 2 SFT mix and combine them with constraints from the taxonomy in Zhou et al. (2023). We have a verification function for each of the constraint templates that is able to verify whether a completion satisfies a constraint.
Given these prompts and verification functions, we then train the models via Proximal Policy Optimization (PPO) (Schulman et al., 2017) on these verifiable rewards. We combine all prompts together, results in a mixture of roughly 30,000 prompts with ground truth labels. We summarize our verifiable prompt mixture in Table 22.
Implementation Details. RL and RLHF have many subtle implementation details that can significantly impact training stability (Engstrom et al., 2020; Huang et al., 2022). As we use PPO to train our models against our verifiers, we adapt these effective implementation details from Huang et al. (2024a):
- 1.
Initialize the Value model from a General RM We initialize the value model from the reward model for the RLVR setup (following the standard setup in Ziegler et al. (2019); Ouyang et al. (2022)).
- 2.
Disable Dropout We set the dropout probability to be 0 during RM and RL training (similar to Ziegler et al. (2019)). This ensures the token log probabilities can be computed deterministically during the forward passes of the policy model and reference model, allowing a more accurate estimation of the KL penalty. Furthermore, PPO calculates the token log probabilities in two phases: during the rollout phase and the learning phase. It is important to ensure the token log probabilities match up during these two phases: they produce a probability ratio of 1 during the first PPO epoch, so PPO can clip the ratio and apply the surrogate objective properly. If the log probabilities differ drastically due to dropout, all ratios could potentially be clipped, resulting in zero gradient.
- 3.
Train with the SFT Dataset and Shuffle Between Epochs As pointed out in in Huang et al. (2024a), PPO can train for more episodes than the total available prompts, effectively training for multiple epochs. In our RLVR ablation experiments, we train for roughly epochs. We shuffle the prompts in between epochs. For our final runs, we examine model checkpoints every 40-100 steps and choose the best checkpoint on our development evaluation set.
- 4.
Non End-of-Sequence (EOS) Penalty During training, PPO typically sample a fixed amount of maximum tokens. If the sampled response does not end with an EOS token, we give a -10 penalty to encourage the model to always complete its responses.
- 5.
Advantage Whitening / Normalization Like done in standard PPO implementation details literature (Engstrom et al., 2020; Huang et al., 2022; Huang et al., 2024a), we normalize the advantages by subtracting its mean followed by dividing its standard deviation.


We start by anchoring a DPO model in the development history as the initial model for conducting experiments for RLVR. We conducted several sets of experiments:
- 1.
Individual Tasks we applied the RLVR recipe on GSM8K, MATH, and IFEval, respectively with a sweep of beta values . For evaluation, we look at the verifiable rewards, the KL divergence, and the response length.
- 2.
Value Model Initialization Ablation We experimented with initializing PPO’s value model from 1) a general reward model or 2) the anchored DPO model, and ran a sweep of beta values on the GSM8K task. The general RM is trained with the UltraFeedback dataset (Cui et al., 2023). For evaluation, we examine the GSM8K test evaluation score and the average scores across all evaluation.
- 3.
Scores from RM Ablations One possible implementation for RLVR is to add verifiable rewards on top of the scores from the reward model. We launch experiments also using a sweep of beta values on the GSM8K task.
- 4.
Starting from Weaker Model The model’s base capabilities are also a confounding factor. We launch another set of experiments using an SFT model with lower average scores (from which the anchored DPO checkpoints were trained, so they share the same linearage) using beta values .
Unless otherwise specified, we use the following hyperparameters for PPO training in Table 21. To train reward models, we use the hyperparameters in Table 36.
RLVR Can Improve Performance in Targeted Domains. Figure 19 shows training with RLVR results in improved test performance for all three settings. In all cases, we achieve models that outperform the initial model in that particular evaluation. We also see that the verifiable rewards (i.e., correctness on the train set) improves consistently for all three settings. Interestingly, in GSM8K and MATH, we found that incurring more KL budget does not necessarily lead to improvements in verifiable rewards.
Initializing RLVR’s Value Function from a General RM Works Best. Figure 22 shows that initializing the value from a general RM obtains the highest GSM8K test score and also higher average scores. This suggests the value function plays an important role in RLVR’s training.
Do Not Use the Scores from RM. Figure 22 shows that using only the verifiable rewards outperforms using scores from the reward model. Training with verifiable rewards with the scores from RM seems to introduce more noise, especially in the average scores.
Starting from a Weaker Model Can Converge to the Same Verifiable Rewards. Figure 20 shows that starting from both SFT and DPO can lead to the same level of verifiable rewards, but starting from the SFT model would incur a larger KL compared to starting from the DPO model. This makes sense because the SFT model is further away from good at GSM8K than the DPO model. However, we find that starting from a stronger model usually results in better test set performance.
Overoptimization Happens. As we lower the KL penalty , the trained model incurs more KL from the initial model. We observed that more KL divergence typically results in lower average scores, as shown in Figure 22. The exception is Figure 22, where the largest KL corresponds to the highest average score. Furthermore, we showcase overoptimization of prompts with constraints cases in Appendix B.4.
Our PPO setup follows best practices on implementation details (Huang et al., 2024a). To enable our implementation to scale to models up to 405B parameters, we also adapted model allocation techniques from existing distributed RLHF frameworks (Hu et al., 2024). Furthermore, we accelerate throughput by making RL training asynchronous (Noukhovitch et al., 2024).
The final 8B reward model is trained in 9 hours on 8 H100 gpus, while the final 8B RL run takes 65 hours on 8 GPUs, the final 70B RL run takes 60 hours on 48 GPUs, and the final 405B RL run takes 46 hours on 256 GPUs. Note, for all of these models we took an earlier than final checkpoint from the run.

Distributed Setup. Our PPO infrastructure leverages Zero Stage 3 (Rajbhandari et al., 2020) to fit the models and applicable optimizer states into the memory. In RLVR, we have 3 models: the policy model, the reference policy model, and the value model. The policy and value models need to be trained, but the reference policy model only performs inference. Often inference time is a bottleneck in RLHF infrastructure, so we allocate dedicated GPUs to do inference like done in OpenRLHF (Hu et al., 2024). In particular, we use Ray (Moritz et al., 2018) to allocate dedicated GPUs to run PagedAttention via vLLM (Kwon et al., 2023). PagedAttention helps reduce GPU memory fragmentation and redundant duplication leveraging virtual memory and paging techniques. As a result, it helps our PPO infrastructure run LLM inference using a much larger batch size and speed up inference. This setup allowed us to scale PPO policy training to the 405B scale. We share more 405B scaling details in Section 8.1.
Asynchronous RL Training. Furthermore, our PPO setup uses asynchronous RL training to improve training efficiency (Noukhovitch et al., 2024). The existing PPO frameworks (Hu et al., 2024; Shen et al., 2024a) are typically synchronous: the inference GPUs would first collect policy rollout data, and then the learner GPUs would train on that rollout data. This setup would utilize GPU relatively well under a typical setup with Atari (Mnih et al., 2015). However, under the RLHF setup, inference computation typically requires different optimizations (e.g., PagedAttention), thus requiring different GPU memory allocation strategies. As a result, synchronous RL training means inference GPUs could be idling while the learner GPUs run, and vice versa. An alternative implementation is to use the same set of GPUs for training and inference, but it could incur additional overhead such as an additional copy of the policy parameters and compiling inference engine in the training GPUs (Shen et al., 2024a).
Our setup allocates GPUs specifically for inference and training, alleviating the need to compile an inference engine and save a copy of the policy parameters in the training GPUs. Furthermore, we run the inference computation concurrently with the training computation, thus reducing the GPU idle time. However, asynchronous RL training can introduce stale data, in cases where the inference can generate data much faster than training consumes (Espeholt et al., 2018), which can introduce reproducibility problems (Huang et al., 2023). To help make training more reproducible, our setup always trains the policy using the second latest inference data (Huang et al., 2023; Noukhovitch et al., 2024).


Based on the above results, we ran our final RLVR runs using the combined verifiable prompt set, and used the best DPO models from the prior section as starting points. Specifically, at 8B scale, we tested the best overall DPO model and the best model with IFEval persona data mixed in during training, and at 70B scale we use the best overall DPO model. For hyperparameters, for 8B models, we used the hyperparameters from Table 21, but tested higher KL penalty coefficients (up to 0.15) based on previous 8B RL development runs. For 70B models, we used the hyperparameters from Table 21, but with a 1 10 learning rate, 0.1 warmup ratio, 2048 response length, 400,000 episodes, 640 effective batch size, and based on previous 70B RL development runs. We initialize our value model from a reward model trained on the same dataset as the best DPO model (the Tülu 3 8B preference mixture) starting from Tülu 3 SFT, using the same hyperparameters as in our ablation experiments (Table 36).
We evaluated our models every 100 training steps (40 for 70B), and picked as our final 8B model the checkpoints with best overall performance on MATH and IFEval. We show the logs from RLVR training in Figure 23, and compare the final performance against their DPO starting points and Llama 3.1 in Table 23. RLVR results in non-trivial improvements at the 8B scale, improving all three of MATH, GSM8k, and IFEval. In fact, we observed that some 8B runs were able to achieve GSM8k scores of up to 89.4% and IFEval scores of up to 84.8% (although such models tended to perform worse in other metrics, dragging down their overall average). At the 70B scale, we observe more modest improvements in IFEval and MATH, and no improvement in GSM8k, likely due to the fact that it is already close to saturation (93.5%). Surprisingly, we find that our 70B run displays extremely low KL divergence, remaining well below 1 over the duration of run, probably due to the lower learning rate.

We designed our framework for evaluating Tülu 3 and the other models we compare against with the following goals: 1) Our evaluations should be reproducible. 2) We should evaluate models’ generalization to unseen tasks, not just the specific benchmarks we use for development. 3) Our evaluation setup (e.g., templates and strategies for prompting) should be fair to a wide range of models.
Accordingly, our framework consists of an open evaluation toolkit for reproducible evaluations (Section 7.1), a suite for evaluating core skills in instruction-tuned models with separate development (Section 7.2) and held-out evaluations (Section 7.3), and a set of recommended settings for evaluating on our evaluation suite that based on our experiments with various models, which we refer to as the Tülu 3 Evaluation Regime, summarized in Table 24.
As described in Section 2.1, we split our evaluation suite into a development set and an unseen set, the former used for developing models, and the latter only for evaluating final models. This setup, along with our training data decontamination efforts (see Section 3.2) provide a fairer evaluation of our models generalization capabilities for each of the core skills we focus during development. However, in comparisons between our models and other models, we cannot rule out that any closed model has not trained on our evaluation suite, and hence cannot make clear judgments on models that have not publicly released finetuning data.
In an effort to make evaluations more standardized and reproducible, we are sharing the code base used to produce the evaluations in this work. The OLMES evaluation system supports:
- •
A wide range of models and tasks, leveraging existing work in the Eleuther AI LM Evaluation Harness (Gao et al., 2024),
- •
Flexible configuration options for each task,
- •
Direct access to the specific task formulations used in this work (as well as in earlier work such as OLMo (Groeneveld et al., 2024) and the OLMES standard (Gu et al., 2024)), and
- •
Detailed instance-level output data for analysis of model predictions, confidences, etc
E.g., to reproduce our Llama-3.1-8B-Instruct numbers for MMLU-Pro, one would simply run something like “olmes --task mmlu_pro::tulu3 --model llama3.1-8b-instruct”.
We design the evaluation setup for the development partition of Tülu 3 Eval based on existing practices in current literature as well as insights during development. Where appropriate, we adapt the evaluation setup based on the nature of the task and take additional care to robustify our answer extraction and comparison approaches as described below.
is heterogeneous with regard to the type of reasoning skills required to answer the questions, containing instances that require basic factual recall as well as those that demand logical reasoning and problem-solving skills. We design a zero-shot CoT setting that asks the models to “summarize” its reasoning before answering the questions (see Table 44 for the prompt used). We find that among the various CoT settings, including prompting the model to think “step-by-step” and using no CoT, the prompt yields a systematic performance improvement over standard 5-shot multiple choice setting across tested models (See Table 46) and maximizes on the number of subject (knowledge categories) that the CoT benefits. This indicates that our “summarize” prompt is an effective strategy for dealing with the heterogeneity of the benchmark. See appendix F.2 for details. We compute a macro average over all the subjects in MMLU as the final task metric.
is an entity-centric question-answering benchmark that evaluates language models’ tendency to forget information about long-tail entities. We prompt the models in a 15-shot setting (as recommended in the dataset paper) without any additional instructions, with each QA demonstration presented in a different conversation turn, a setting that we refer to as Multiturn ICL henceforth, and use greedy sampling to obtain model predictions.
contains questions that humans tend to answer incorrectly due to common misconceptions. We use the multiple-choice version of this benchmark where the models being evaluated are presented with questions and options containing multiple correct answers (the MC2 setting).
evaluate models’ ability to complete Python code given docstrings. HumanEval+ uses a more rigorous evaluation procedure than the original HumanEval benchmark with additional tests. We use samples from the models at a temperature of 0.8 and use pass@10 as the evaluation metric.
contains grade school math word problems. We use the 8-shot chain-of-thought prompt from Wei et al. (2022b), formatted for a multiturn ICL evaluation. We obtain model responses using greedy sampling and extract the last number in the model response as the predicted answer.
contains problems from mathematics competitions spanning various categories such as algebra and calculus. We use a 4-shot multi-turn setup with CoT from Lewkowycz et al. (2022), formatted for multiturn ICL, and greedy sampling for model completions. For determining the correctness of predictions, we use a ‘flex’ scheme that attempts to extract the answer in three different ways: (1) following the minerva format (Lewkowycz et al., 2022); (2) finding the last instance of ‘<ans>’; (3) taking the text between the last two ‘$’ tags. This is due to issues we found during development wherein models would often not follow the correct output format despite the few-shot examples, necessitating a varied answer extraction strategy. We find that moving from the minerva format alone to our ‘flex’ strategy can sometimes improve reported scores by up to 10 points, highlighting the need for this flexible strategy. We compute macro average across the subsections to obtain the final task metric.
contains challenging reasoning problems for which models benefit from step-by-step reasoning. We follow the setup described in the original paper and use 3-shot CoT prompts, formatted for multiturn ICL. We use greedy sampling for obtaining model predictions.
is a reading comprehension task that requires discrete reasoning. We draw 3 random few-shot examples from the train split following the setup used for Llama 3 (Dubey et al., 2024), and use greedy sampling to get model predictions.
evaluates instruction following ability of models in a setting where each instruction corresponds to constraints such that the it can be programmatically verified whether the outputs satisfy those constraints. We use greedy decoding to generate model outputs give the instructions in the dataset, and measure the prompt-level accuracy of satisfying constraints in the loose evaluation setting.
contains a set of prompts sourced that reflect real human usages of LMs, and compares model outputs to GPT-4 turbo responses with an additional length control to avoid longer answers being unfairly favoured. We generate responses using greedy decoding up to 8,192 tokens in length, following Ivison et al. (2023).
We follow Han et al. (2024) and Jiang et al. (2024) to define our safety evaluation suite using the following benchmarks.. Each of these benchmarks evaluates whether models refuse to respond to unsafe requests, and in the case of XSTest and WildJailbreak, additionally evaluate whether they comply with benign requests. We use greedy sampling to get model responses for the prompts in each of the benchmarks, and compute the accuracy (at refusal or compliance as appropriate). We report the macro average of the scores over all the benchmarks as our final safety evaluation metric.
consists of 200 unsafe prompts and 250 prompts which are safe but superficially resemble unsafe prompts: these prompts use vocabulary similar to that of unsafe prompts. Categories include homonyms, figurative language, safe targets, safe contexts, definitions, real discrimination/nonsense group, nonsense discrimination/real group, historical events, public privacy, and fictional privacy. We report the overall accuracy score based on whether WildGuard (Han et al., 2024) classifies the response as a refusal or compliance.
. We evaluated on a subset of harmful prompts which consists of 321 harmful prompts categorized into Functional and Semantic categories. Functional category includes two types of behavior: Standard behaviors, which are modeled after existing datasets of harmful behaviors such as AdvBench and the TDC 2023 Red Teaming Track dataset, and Copyright behaviors, which test the handling of copyrighted content. The semantic category comprises seven types of harmful behaviors: cybercrime, unauthorized intrusion, chemical/biological weapons or drugs, copyright violations, misinformation/disinformation, harassment/bullying, illegal activities, and general harm. We use WildGuard to evaluate the model’s refusal to assist with harmful prompts.
consists of jailbreak prompts that were created by combining the jailbreak templates from DAN with harmful behaviors from HarmBench, and subsample 300 of them for testing. We report accuracy using the WildGuard classifier.
incorporates prompts based on 13 distinct jailbreak attack methods. In total, the dataset consists of 400 examples, split evenly between two categories: "Questions about Bad Behaviors" and "Instructions to generate Toxic Content". This dataset serves to evaluate the effectiveness of LLMs’ defenses and measures the toxicity of responses under jailbreak scenarios. The reported metric is RTA measured by WildGuard.
is an adversarial evaluation set which contains a subset for adversarial benign queries (210 examples) and a subset for adversarial harmful queries (2000 examples). The adversarial benign queries are used to measure models’ exaggerated safety behaviors and the adversarial harmful queries are used to measure models’ safeguards regarding adversarial attacks. We measure RTA using WildGuard for both categories. For benign queries, RTA is expected to be () and for harmful queries, the RTA is expected to be ().
contains 1725 items for prompt harm, response harm, and response refusal classification tasks. 55% are vanilla prompts, and 45% are adversarial. The prompts are collected based on adversarial synthetic data and in-the-wild user-LLM (In-the-wild) interactions. We report RTA using WildGuard.
| Benchmarks | Llama 3.1 8B | Ministral 8B | Qwen 2.5 7B | Tülu 3 8B | Tülu 3 8B | Tülu 3 8B |
| Instruct | Instruct | Instruct | SFT | DPO | ||
| HarmBench | 82.8 | 53.4 | 84.1 | 98.4 | 94.4 | 94.7 |
| XSTest | 92.7 | 85.6 | 91.8 | 90.4 | 92.4 | 93.3 |
| WildGuardTest | 86.2 | 68.1 | 85.0 | 99.2 | 98.9 | 98.5 |
| Jailbreaktrigger | 78.8 | 63.3 | 71.0 | 95.8 | 87.0 | 85.5 |
| DoAnythingNow | 45.0 | 16.0 | 61.7 | 88.3 | 69.7 | 62.0 |
| WildjailbreakTest | 65.6 | 50.7 | 56.2 | 86.7 | 81.1 | 78.8 |
| Overall | 75.2 | 56.2 | 75.0 | 93.1 | 87.2 | 85.5 |
View original table

| Benchmarks | Llama 3.1 | Qwen 2.5 | Hermes 3 | Nemotron | Tülu 3 70B | Tülu 3 70B | Tülu 3 70B |
| 70B | 72B | Llama 3.1 | Llama 3.1 | SFT | DPO | ||
| Instruct | Instruct | 70B | 70B | ||||
| HarmBench | 80.6 | 86.3 | 54.7 | 84.4 | 98.8 | 97.8 | 97.8 |
| XSTest | 87.1 | 93.6 | 89.3 | 92.0 | 91.1 | 94.9 | 92.4 |
| WildGuardTest | 81.3 | 93.1 | 66.6 | 84.9 | 99.1 | 99.2 | 98.9 |
| Jailbreaktrigger | 71.0 | 89.8 | 56.3 | 60.5 | 95.3 | 87.0 | 86.7 |
| DoAnythingNow | 80.0 | 93.3 | 26.7 | 36.3 | 93.7 | 69.0 | 67.7 |
| WildjailbreakTest | 59.2 | 66.0 | 53.8 | 56.1 | 88.6 | 86.3 | 86.2 |
| Overall | 76.5 | 87.0 | 57.9 | 69.0 | 94.4 | 89.0 | 88.3 |
View original table

For the unseen evaluation suite, the task formulations were decided through an independent design process from that of development suite. One goal of the unseen suite is to evaluate instruction-tuned models in ways that are closely aligned to realistic usage. Specifically, we follow these general principles:
- •
Formulate tasks similar to how humans interact with the models. E.g., avoid few-shot examples presented as a dialog, or precise chain-of-thought (CoT) examples for how the model is “supposed” to think.
- •
Prompt models with clear instructions that set the context, encourage concise reasoning, and specify how the final answer should be formatted.
- •
Apply reasonable heuristics for answer extraction and comparison to gold answers, to avoid penalizing models that do not exactly follow a syntax implied by the instructions (based on examining outputs from a wide set of existing baseline models).
We first apply these principles to some of the tasks in the development suite using a set of exploratory models (instruction-tuned models predating Tülu 3). On the exploratory models, we find that following the above principles, in particular being more aligned to how human usage, generally does not degrade performance and often times allow most models to perform better on tasks (despite, e.g., removing few-shot examples). We did not update the formulation of the development tasks based on this, but carried the principles over to formulating the unseen tasks. More detailed analysis can be found in Appendix F.2.
The task formulations in the Tülu 3 unseen suite are as follows. For all benchmarks which include multiple sub tasks, we compute the average over the sub tasks (i.e., the “macro” average) to be consistent.
| Model | Llama 3.1 prompt | Ours |
| Gemma 2 9B Inst | 51.6 | 52.6 |
| Gemma 2 9B Inst-SimPO | 52.6 | 51.8 |
| Llama 3.1 8B Inst | 49.2 | 48.7 |
| Llama 3.2 3B Inst | 39.1 | 39.7 |
| Ministral 2410 8B Inst | 43.8 | 44.3 |
| OLMo 0724 7B Inst | 26.1 | 22.9 |
| OLMoE 0924 1B 7B Inst | 20.7 | 20.3 |
| Qwen 2.5 7B Inst | 56.2 | 54.2 |
| Tulu 2 DPO 7B | 25.4 | 22.2 |
View original table

| Model | Llama 3.1 prompt | Ours |
| Gemma 2 9B Inst | 35.7 | 35.5 |
| Gemma 2 9B Inst-SimPO | 35.0 | 35.7 |
| Llama 3.1 8B Inst | 29.5 | 29.5 |
| Llama 3.1 70B Inst | 46.2 | 44.0 |
| Llama 3.2 3B Inst | 33.5 | 27.7 |
| Ministral 2410 8B Inst | 31.0 | 31.5 |
| OLMo 0724 7B Inst | 27.2 | 27.9 |
| OLMoE 0924 1B 7B Inst | 24.6 | 24.8 |
| Qwen 2.5 7B Inst | 32.1 | 36.8 |
| Tulu 2 DPO 7B | 28.4 | 27.5 |
View original table

| Model | base-adapted, in context examples | CoT prompt |
| Gemma 2 9B Inst | 18.0 | 45.9 |
| Gemma 2 9B Inst-SimPO | 19.3 | 45.3 |
| Llama 3.1 8B Inst | 20.0 | 39.4 |
| Llama 3.2 1B Inst | 11.6 | 13.1 |
| Llama 3.2 3B Inst | 19.2 | 32.6 |
| Ministral 2410 8B Inst | 18.8 | 36.7 |
| OLMo 0724 7B Inst | 3.2 | 5.8 |
| OLMoE 0924 1B 7B Inst | 9.0 | 4.2 |
| Qwen 2.5 7B Inst | 21.2 | 54.7 |
| Tulu 2 DPO 7B | 9.6 | 6.0 |
| Llama 3.1 Tulu 2 8B | 21.7 | 13.6 |
| Llama 3.1 Tulu 2 DPO 8B | 18.6 | 14.5 |
View original table

includes the English language subset of the AGIEval benchmark, specifically these multiple-choice tasks: aqua-rat, logiqa-en, lsat-ar, lsat-lr, lsat-rc, sat-en, sat-math, and gaokao-english. We do not include the sat-en-without-passage task as we find these questions are typically severely underspecified without access to the passage. We formulate the task using the a simple “zero-shot CoT” prompt which encourages concise reasoning ending with a clearly stated answer choice. In Appendix F.2, Figure 44, we provide the 0-shot reasoning prompt, used for the multiple-choice tasks in the unseen evaluation suite, including AGIEval English. The model’s answer choice is extracted by first matching to the requested format, with fallback patterns if the format was not followed precisely. Specifically, we first look for the exact phrase indicated in the prompt (“Therefore, the answer is [ANSWER]”) and grab the last such match. If that fails, we look for a sequence of softer variants, like “answer is [ANSWER]” or “answer: [ANSWER]” before falling back to the last letter in parenthesis found, and if that fails, the last stand-alone capital letter.
is a 10-way multiple-choice extended version of the MMLU dataset. We use essentially the same prompt and answer extraction as used for our AGIEval setup, just adjusting for the number of answer choices. We generally find our formulation to be as effective as the traditional 5-shot CoT prompt (e.g., used in Llama 3.1 evaluations (Dubey et al., 2024)) despite being much shorter, more realistic, and easier for users to create (see Table 27 for a comparison across exploratory models).
is a set of very challenging multiple-choice questions written by domain experts in biology, physics, and chemistry. We use the same zero-shot prompt and answer extraction as for AGIEval. This is similar to the approach used in Llama 3.1 evaluations, but with less prescription on how the reasoning should be structured. Figure 28 shows that across exploratory models, that our approach leads to comparable scores.
is a dataset of 56 categories of math questions, testing mathematical and algebraic reasoning skills. We devised a “zero-shot CoT” prompt that sets the context of the task, explains the format expected for the answers (e.g., “x**2” for powers), and for each category included three example answers to specify the answer format. The prompt used and answer extraction heuristics were refined by examining example outputs from our exploratory models. As seen from Table 29, applying evaluation principles aligned with real usage (“chat” versions), often performs better than using a setup involving presenting few-shot examples adapted from base model evaluations (“base-adapted”). We provide the zero-shot reasoning prompt for the Deepmind Mathematics task in Appendix F.2, Figure 45. Aligned with the instructions for formatting in the prompt, when extracting the answer, we first look for an answer in the format “Therefore, the final answer is [answer]. I hope it is correct.” We look for this in a case-insensitive way, process the [answer] by stripping away any trailing period, and known math delimiters surrounding the answer (e.g., “$” ) based on outputs from our exploratory models. For answer comparison, we first compare the raw strings of the processed generated answer and gold answer to check if they are equal. In addition, we parse both using the SymPy (Meurer et al., 2017) package and compare the equivalence of the parsed outputs to check their mathematical equivalent. We also consider the generated answer to be correct if it is equal to the parsed gold answer after this parsing.
is a set of coding challenges. We focus on the “hard subset” of 148 (out of the total 1140) instances, using the “instruct” formulation of each task and the “calibrated” score. We follow the setup used for the original leaderboard for our implementation.
In order to test precise instruction following abilities of LLMs and whether they are able to follow constraints that go beyond the 25 constraints included in IFEval (Zhou et al., 2023), we developed IFEval-OOD (IFEval Out-of-Distribution). IFEval-OOD consists of 52 constraints across six broad categories such as the examples in Table 30. A complete list of the constraints can be found in Appendix F.3. A portion of the constraints were sourced by asking a group of researchers for constraint ideas and others were written by authors of this paper. One of the six categories (“custom”) comprises manually written verifiable prompts to cover specific sub-skills, such as CSV generation. For the remaining five categories, the verifiable constraint was combined with 10 unseen prompts from WildChat. To select the final prompts, these constrained prompts were human annotated for quality and compatibility with the constraint (e.g. a prompt to paraphrase a one-sentence reference text that doesn’t contain any names to begin with would not be compatible with a constraint to mention at least 23 different person names in the response). To ensure constraint coverage, additional unseen WildChat prompts were manually paired with constraints that did not have at least five selected prompts. Our evaluation dataset emphasizes broad coverage of constraint types to differentiate constraint-following abilities from overfitting on the existing IFEval constraints.
| Instruction Group | Instruction | Description |
| count | person_names | Mention at least {N} different person names in the response. |
| format | emoji | Please use an emoji at the end of every sentence. |
| ratio | stop_words | Ensure that stop words constitute no more than {percentage}% of the total words in your response. |
| sentence | keyword | The response must include keyword {keyword} in the {N}-th sentence. |
| words | alphabet | Each word in your response must start with the next letter of the alphabet, looping back to ‘A’ after ‘Z’. |
| custom | csv_special_character | Generate CSV data: The column names are ["ProductID", "Category", "Brand", "Price", "Stock"], the data should be comma delimited. Please generate 14 rows. Add one field which contains a special character and enclose it in double quotes. |
View original table

We constructed an automatic evaluation of instructability of language models, called Human Reference-guided Evaluation of instruction Following (HREF). HREF focuses on 11 instruction following tasks that language models are typically trained on, namely, Brainstorming, Open QA, Closed QA, Extraction, Generation, Rewriting, Summarization, Classification, Numerical Reasoning, Multi-document Synthesis, and Fact Checking. We obtained high quality human-written prompts and responses in these categories from professional instruction-tuning data creators, and developed a reliable automatic evaluation procedure. Following AlpacaFarm (Dubois et al., 2023), we use win-rate against a fixed baseline model as the evaluation metric. However, since we have a larger number of tasks in our benchmark than AlpacaFarm, and also because we have access to human-written references, we hypothesized that the setup used for win-rate computation may not be directly applicable to our new evaluation. So we experimented with various win-rate computation methods, and their details along multiple dimensions:
- •
We tried GPT-4, GPT-4 turbo, and Llama 3.1-Instruct models at 7B and 70B sizes as LM judges.
- •
Using a large language model e.g., GPT-4 Turbo for AlpacaFarm, may not be appropriate for tasks where the responses are expected to be short and factual. We compared this setup with directly comparing the similarity of the responses from the target and the baseline models with the human-written references, according to a simpler embedding model (RoBERTa-Large (Liu, 2019)).
- •
Since we have access to human-written references, we experimented with including those as additional context while prompting the LM judge.
To make decisions about the evaluation setup, we collected human judgments comparing responses from a diverse set of 16 models, when prompted using the instructions taken from a subset of our evaluation dataset. We collected four human judgments per each model response pair, and compared the agreement of each evaluation setup with majority human judgments. We repeated this procedure for each task category to identify the best setup for that category.
We used Llama 3.1 70B Instruct as our LM judge since its agreement with human judges was the highest of the pool of models we considered. Our baseline model we used is Llama 3.1 405B Instruct. We found that using LM as a judge results in higher human agreement (compared to the embedding-based method) in all subtasks except Open QA and Fact Checking. We use embedding similarity with human-written references as the way of computing win-rates in these two subtasks. Of the remaining 9 subtasks, evaluation in Brainstorming and Summarization did not benefit from using human-written references while prompting the LM judge, and hence prompt LM judges with human references only for the remaining 7 subtasks. On the subset for which we collected human judgments, our composite evaluation procedure resulted in an agreement of 69.4% with humans, which is comparable to the inter-human agreement of 67%.
To evaluate how much and in what ways we over-fit to our development evaluations, we measure the performance of our models on unseen tasks that still correspond to the same set of core skills. We evaluate the checkpoints corresponding to various design decisions we made in the development process on the unseen suite to check whether our decisions overfit to the development evaluations, and summarize our findings in Section 7.4.1. In Section 7.4.2, we show a comparison between our final checkpoints and comparable public models.

Table 31 shows the performance of the SFT, DPO, and the final checkpoints of Tülu 3 at 8B and 70B sizes on one development and one unseen evaluation for each core skill. We see that our pipeline generalizes well to unseen evaluations, with the final checkpoints obtaining the best average performance on both the development and unseen evaluations. For Reasoning and Coding, where the SFT checkpoints have the best performance on development evaluations, the subsequent training stages still improve model performance on harder unseen evaluations.

To assess whether the data mixing choices we made for SFT generalize to unseen evaluations, we evaluate the performance of various data-ablated SFT models with the final SFT checkpoint, as shown in Table 32. For each core skill, we compare the model performance trends on a development and an unseen evaluation. We see that the data choices generalize on average, as indicated by the best average performances on both development and unseen evaluations by the final SFT checkpoint. In individual skills, we see that our choices overfit to the development evaluations in Precise Instruction Following, and to some extent in Knowledge Recall and Reasoning.
Initial 8B SFT 5% 10% 25% 50% 75% 100%







We show the effect of scaling DPO data on development and unseen evaluations in Figure 24. We see that the scaling trends generalize on average to unseen evaluations. Of note is the trend we observed in the development and unseen Math evaluations, indicating that our development process overfit to MATH to some extent. We hypothesize this is mainly due to formatting differences between MATH and Deepmind Math. The former often requires solutions and answers to be output in LaTeX format, while the latter does not. We found that our trained models have the tendency to format the chain-of-thought reasoning and the final answers in LaTeX even for the questions in the Deepmind Math dataset where this is not required. This often interfered with the intermediate reasoning, and also made our answer extraction logic fail.

Table 33 shows a comparison between Tülu 3 models, Llama 3.1 Instruct models, and Hermes 3 Llama 3.1 models at 8B and 70B sizes, and Table 48 shows a subtask-level breakdown of the performance of these models on HREF. It is important to note that while all these evaluations are unseen for the Tülu 3 models, we do not know if GPQA, MMLU-Pro, AGIEval, DeepMind Math, and BigCodeBench were used for developing the two other models. We summarize below our key takeaways from this comparison and from our qualitative analysis of the outputs of Tülu 3 models on these datasets:
In almost all the evaluations, Tülu 3’s performance is generally comparable to that of the two other models we evaluate, often falling between the performance numbers of the two models. This suggests that our recipe of choosing representative evaluations for each core-skill and curating training datasets targeting those evaluations can lead to models that generalize well to other tasks that require the same skills.
We find that there is a significant difference between performance on IFEval and IFEval-OOD of all the models, even though we created the latter to be structured very similar to the original dataset, just with a disjoint set of constraints. We observe that instruction following with verifiable constraints is a challenging skill for models to learn effectively, and hypothesize that those models that do well on IFEval are likely overfitting to the specific set of constraints included in the dataset, making it hard for them to generalize to new constraints.
As one might expect, the performance of models on MMLU and MMLU-Pro is correlated. We see that their performance on GPQA shows a different trend — all three models we compare here are post-trained from the same base model, suggesting that the post-training recipe may affect the generalization in knowledge-recall.
We observe that the relative performance of Tülu 3 models on AlpacaEval is different from that on HREF. This may be explained by the fact that instruction following is a highly diverse task, and the distributions of HREF and AlpacaEval may differ, with some categories of instructions not necesarily transferring well to others, leading to the shift in relative performance. We do note that Tülu 3 70B outperforms Llama 3.1 70B Instruct on 5 out of 11 subtasks, as seen in Table 48 in the Appendix, which shows a breakdown of model performance across subtasks in HREF. Future work will explore how different behaviors of instruction following can be measured with more diverse instruction following evaluations.
| Hyperparameter | 405B SFT | 405B DPO |
| Learning Rate | ||
| Learning Rate Schedule | Linear | Linear |
| Batch Size (effective) | 256 | 256 |
| Max Token Length | 4,096 | 2,048 |
| KL penalty coefficient | - | 5 |
| Warm up ratio | 0.03 | 0.1 |
| Number of Epochs | 2 | 1 |
| Hyperparameters | 405B RLVR |
| Learning Rate | 1 10 |
| Discount Factor | 1.0 |
| General Advantage Estimation | 0.95 |
| Mini-batches | 1 |
| PPO’s Clipping Coefficient | 0.2 |
| Value Function Coefficient | 0.1 |
| Gradient Norm Threshold | 1.0 |
| Learning Rate Schedule | Linear |
| Generation Temperature | 1.0 |
| Batch Size (effective) | 1,856 |
| Max Token Length | 2,048 |
| Max Prompt Token Length | 2,048 |
| Penalty Reward Value for | |
| Responses without an EOS Token | -10.0 |
| PPO Update Iterations | 1 |
| Response Length | 1,024 |
| Total Episodes | 300,000 |
| KL penalty coefficient () | 0.05 |
| Warm up ratio () | 0.0 |
Table 35 The hyperparameters of PPO used for optimizing against a general RM.
View original table


Here, we demonstrate the scalability and effectiveness of our post-training recipe applied at 405B parameter scale. Scaling to this size required several engineering efforts and posed a number of challenges:
- •
Compute Requirements: Training Tülu 3 405B demanded 32 nodes (256 GPUs) running in parallel. While most of our codebase scaled well, we occasionally encountered NCCL timeout and synchronization issues that required meticulous monitoring and intervention (especially with RL training). Using more GPUs increased the chances of encountering hardware failures, necessitating semi-frequent run restarts.
- •
RLVR Training: For inference, we deployed the model using vLLM with 16-way tensor parallelism, while utilizing the remaining 240 GPUs for training. After each iteration of RLVR update, the weights are synchronized to the vLLM engine using NCCL broadcast. Inference typically takes 550 seconds, weight transfer takes 25 seconds, and training takes 1,500 seconds. To reduce computational cost during the RLVR stage, we utilized an 8B value model. Future works can benefit from exploring larger value models or alternate value model-free RL algorithms such as GRPO (Shao et al., 2024).
- •
Hyperparameter Tuning Challenges: Given the computational costs, hyperparameter tuning was limited. Following prior Tülu and Llama work, we opted to lower the LR for larger models, training with a “lighter touch”.
Our training recipe for the 405B model followed very similarly to that of the 8B and 70B models, but with a different training dataset for RLVR. Given the model’s saturation of GSM8K from SFT and DPO training alone, we removed the GSM8K data, and we additionally found that the IFEval data did not help much in initial RLVR runs. As such, for Tülu 3 405B RLVR we only used the MATH train set. Surprisingly, we found that even with as few as 25 RLVR steps, MATH performance improved by over 5 points, and continued to increase with more training.
With the challenges of scaling the asynchronous RL infrastructure, we only trained for 75 steps, fewer than our smaller models. The RL reward, KL divergence, and response length per training batch are shown in Fig. 25. The training hyperparameters for the SFT and DPO stages are shown in Table 35. The hyperparameters for RL with verifiable rewards at this scale are shown in Table 35.
In Table 4, we compare Tülu 3 405B with prior state-of-the-art models finetuned from Llama 3.1 405B as well as DeepSeek-V3 (DeepSeek-AI et al., 2024) and GPT-4o. Generally, Tülu 3 405B results are improved compared to Tülu 3 70B.Tülu 3 405B achieves competitive or superior performance to both Deepseek v3 and GPT-4o, while also surpassing prior open-weight post-trained models of the same size including Llama 3.1 405B Instruct and Nous Hermes 3 405B (Teknium et al., 2024) on many standard benchmarks. We note that we ended RLVR training early due to compute constraints, and further training may further improve performance. In particular, we did not observe that MATH performance had saturated during training and testing (see Figure 25).
In this section, we discuss a number of methods and approaches we considered for Tülu 3 but did not ultimately make it into our final recipe for a variety of reasons.
Standard DPO methods use preference datasets that are usually collected ahead of time, often from a distinct language model, and are thus considered as offline. In other words, with DPO, the policy cannot obtain feedback over it own generations during training. This is in contrast to online methods like PPO where the RM provides online feedback to generations from the policy being trained. To mitigate the distributional shift issue, recent works proposed Online DPO (Guo et al., 2024) following a three-step process: (1) sample 2 responses to a prompt from the current policy; (2) obtain online feedback over the response pair to create pairwise data, and (3) use this pairwise data update the policy via standard DPO loss. While the original paper proposed using online AI feedback for step 2, to better scale our experiments, we obtain feedback from a trained reward model.
We tried online DPO both to enhance general, and target capabilities, i.e., mathematical reasoning. For general capabilities, we train an RM for 1 epoch using the 82K preference data points from the Skywork. For targeting mathematical reasoning, we continue training the same RM on our synthetic on-policy math-specific preference data (described in §5.2.1). Training online DPO on top of one of our Tülu 3 DPO checkpoint for total of 200K episodes on math problems (prompts are taken from the same RM training data), resulted in no or little improvement on GSM8K and degradation on MATH performance (we experimented with various sampling temperatures and KL penalty coefficients). We did not further explore this approach extensively, as our initial results suggested limited gains in both general and targeted domains. Future work could investigate alternative training strategies, such as different sampling methods, or finetuning RM architectures, to better align the optimization process with the desired capabilities.
Rejection sampling for large language models is an increasingly popular method for improving post-training performance of frontier language models (Dubey et al., 2024; Adler et al., 2024; Dong et al., 2023). Using an initial SFT and preference data mix to train an initial model, that model is used to then generate n responses to each SFT prompt. These n responses, in addition to the original response, are then ranked using a reward model or an LLM as a judge, and the best response is kept. The other responses can then be used to create chosen/rejected pairs for preference optimization. The full post-training pipeline is then run on these datasets, and the process repeats until performance converges.
We tried rejection sampling, but found that for our setup the performance gains were minimal for the amount of compute required, and thus we leave a deeper exploration for future work. Qualitatively, we found that strong judges are vital, and publicly available models can struggle to choose the best response out of the candidates. We also found that including the original response as a choice for the judge (in other words, choosing the best response out of the n generations in addition to the original response) performed much better than only choosing from the newly generated responses.
While we aimed to cover a broad set of skills for Tülu 3, due to various limitations, we left some skills for future iterations of Tülu. We discuss some of these skills below:
Currently, the data collected for Tülu 3 is relatively short and does not contain long multi-turn data (the average number of turns in our mixture is 2.4 turns and majority of samples are under 2,048 tokens in length). However, long-context has been popular area of focus in recent work (Pawar et al., 2024), as improving the context window of LMs enables new use-cases (Gemini Team, 2024) and more in-context examples, potentially improving performance (Agarwal et al., 2024). Relatedly, improving multi-turn capabilities can better improve end-user experience, with a non-trivial number of real-world user conversations with LMs going over 2 turns (Zhao et al., 2024). We hope to address both skills in the future with dedicated training and evaluations.
We specifically focus on English data and evaluations for Tülu 3 (although we do include the multilingual Aya (Üstün et al., 2024) dataset due to its high quality). However, this neglects the myriad languages apart from English spoken around the world, speakers of which may benefit from or desire LMs that can process their languages. Future work may examine the current multilingual abilities of Tülu 3 and how to further improve them. We also note that multilingual post-training can make use of different techniques to monolingual post-training – for example, cross-lingual alignment (Wu et al., 2024) or careful data balancing strategies (Li et al., 2024b). This makes multilingual post-training an interesting and impactful area for future work.
While we evaluate Tülu 3 on its own, LMs are being increasingly deployed as parts of larger systems, in which they have access to tools (Qu et al., 2024) or are themselves part of a larger ‘agent’ framework. Furthermore, training models to use tools is a natural way to dramatically improve their reasoning and mathematical skills (Gou et al., 2024), rather than trying to accomplish everything ‘in the weights.’ Future work involves training or evaluating Tülu 3 for tool-use either on its own or as part of a larger framework.
Modern “post-training” has its roots in multi-task language model training, in particular instruction tuning (Mishra et al., 2022; Wei et al., 2022a; Sanh et al., 2022; Wang et al., 2022b; Longpre et al., 2023), in which language models are trained on samples including task instructions and their corresponding responses, allowing the models to generalize ‘zero-shot’ to new tasks. Early instruction-tuning datasets tended to focus on more traditional NLP tasks (e.g., natural language inference) rather than more generic tasks that downstream users might perform (Wang et al., 2022a). With the rise of ChatGPT and chat-based LMs (Claude, Gemini, etc), post-training techniques evolved beyond instruction tuning to include preference tuning stages, with models undergoing both instruction tuning and then preference finetuning (PreFT) or “RLHF” (Ouyang et al., 2022).
Early work in RLHF originated from experiments on Deep RL for control (Christiano et al., 2017; Ibarz et al., 2018; Leike et al., 2018) and typically involved first learning a reward model from human preferences, and then optimizing a language model via an RL framework using the learnt reward (Stiennon et al., 2020; Nakano et al., 2021; Askell et al., 2021; Ouyang et al., 2022). Recently, approaches that allow directly training a language model on such preferences have been developed (Rafailov et al., 2024; Zhao et al., 2023), reducing the complexity of incorporating PreFT into training. While early approaches to PreFT were extremely human-centric, using tens or hundreds of thousands of human-written instructions and human preference labels, more recent work uses mixtures of human and synthetically generated preference data, along with multiple rounds of training and varied training algorithms (Touvron et al., 2023; Dubey et al., 2024; Gunter et al., 2024).
During the evolution of RLHF primarily in closed laboratories, open recipes for post-training have lagged somewhat behind. Initial attempts at building ‘open post-training recipes’ focused on the instruction-tuning stage (Taori et al., 2023; Conover et al., 2023), finetuning openly released language models on synthetically generated or human made datasets. While combining these datasets could yield strong performance (Wang et al., 2023), incorporating a PreFT stage proved important for bridging the gap with closed models based on human evaluations (Ivison et al., 2023). Today, most popular adapted models with open recipes for PreFT use DPO (or one of its variants), and AI feedback data including Tülu 2 (Ivison et al., 2023), Zephyr- (Tunstall et al., 2023), and Starling (Zhu et al., 2023). However, many of these models are outdated relative to closed post-training recipes both in terms of data and in performance: no open-recipe models exist in the top 50 of LMSYS’s ChatBotArena (as of November 20th, 2024) have released their post-training data (Chiang et al., 2024). Most of these open recipes use relatively little data and few rounds of training compared to closed post-training setups, which can involve multiple rounds of training with varied objectives, and millions of datapoints (Touvron et al., 2023; Dubey et al., 2024). For instance, Llama 3.1 trained on generated outputs from the previous model for multiple rounds with extensive human feedback data, and used strong models to write synthetic instructions (Dubey et al., 2024). Other recent developments includes rejection sampling for synthetic data and advanced reward modeling for step-wise assistant responses (Lightman et al., 2023).
Whilst we do not entirely reach the size of these closed recipes, in this work we hope to push the state of open post-training recipes forward by building a recipe that matches or beats strong closed recipes, and releasing all related artefacts (code, models, data, etc) for further scientific study and use. Our pipeline is significantly larger and more complex than prior work, comprising of almost a million instruction tuning samples, hundreds of thousands of preference pairs, and a novel online RL training phase.
The RLVR approach proposed in this work relates to a variety of recent work on improving LM reasoning through RL-related techniques. Closely related is the self-taught reasoner (STaR) line of work (Zelikman et al., 2022; Zelikman et al., 2024) and TRICE (Hoffman et al., 2023), both of which examine using existing ground-truth answers as signals to generate better model rationales (or chains-of-thought). STaR can be seen as an approximation of a policy gradient algorithm, with Quiet-STaR extending the approach of training the model to use additional generations to improve generic language modelling (‘thinking before speaking’). TRICE (Hoffman et al., 2023) also aims to improve the likelihood of correct answers by training over multiple reasoning traces, using a custom MCMC-based EM algorithm. More recently, VinePPO (Kazemnejad et al., 2024) uses binary rewards from GSM8k and MATH correctness to test a novel PPO-based algorithm, and other recent work has explored using code feedback as a signal for training (Gehring et al., 2024; Xu et al., 2024b). In contrast, our proposed approach, RLVR simply uses an existing RL framework (PPO) for training, and runs entirely online with binary rewards (compared to the iterative approach of STaR or the log-likelihood rewards of Quiet-STaR). Additionally, we expand beyond the math domain, also finding that this approach can yield improvements in precise instruction following. Finally, we also carefully ablate a number of core components of RLVR, including value model initialization and using a general reward model with verifiable rewards. We hope to further develop and expand this technique in future work.
We introduce Tülu 3, a family of fully open state-of-the-art language models, featuring a modern post-training framework with fully open-source data Tülu 3 Data, evaluation Tülu 3 Eval, training code Tülu 3 Code and development recipes Tülu 3 Recipe. We release final models trained on Llama 3.1 base versions, with intermediate checkpoints, training data, training code, and evaluation code.
Tülu 3 bridges the gap between open and closed post-training methods, marking a new milestone in open post-training research. With the resources provided, others can build on open base models, finetune them for high performance across diverse tasks. This paves the way for advancing post-training research within multi-objective, and multi-stage training frameworks.
A successful team project like Tülu 3 would not be possible without the fluid contributions of many teammates across formal team boundaries. As not all of these can be captured, we indicate each authors’ primary contributing role in this project. Authors are listed in alphabetical order:
- •
For SFT model development, including training and data curation: Faeze Brahman, Shengyi Huang, Hamish Ivison, Nathan Lambert, Jacob Morrison, Yizhong Wang, and Chris Wilhelm.
- •
For preference-tuned model development, including training and data curation: Faeze Brahman, Shengyi Huang, Hamish Ivison, Nathan Lambert, Lester James V. Miranda, Valentina Pyatkin, Chris Wilhelm.
- •
For reinforcement-learning model development, including training and data curation: Shengyi Huang, Nathan Lambert, Hamish Ivison, Valentina Pyatkin, Faeze Brahman.
- •
For evaluation tooling support, decontaminating training datasets, and evaluating peer models in the ecosystem throughout: Pradeep Dasigi, Nouha Dziri, Victoria Graf, Shengyi Huang, Jena D. Hwang, Hamish Ivison, Ronan Le Bras, Alisa Liu, Xinxi Lyu, Saumya Malik, Valentina Pyatkin, Luca Soldaini, Oyvind Tafjord, Jiangjiang Yang.
- •
For management of communications, legal, and other release processes: Faeze Brahman, Pradeep Dasigi, Hannaneh Hajishirzi, Nathan Lambert, Luca Soldaini.
- •
For mentorship and advising: Pradeep Dasigi, Hannaneh Hajishirzi, Nathan Lambert, Valentina Pyatkin, Noah A. Smith, Luca Soldaini, Yizhong Wang.
Authorship for this work was determined by those making direct contributions to the Tülu models, related artifacts, and their release. Core contributors are recognized for their sustained, significant contributions critical to the success of the Tülu 3 project.
We thank John Schulman for extremely useful advice. We acknowledge the National Artificial Intelligence Research Resource (NAIRR) Pilot and Microsoft Azure for contributing to the results in this work. We thank Niklas Muennighoff for helping with some experimentation on OLMoE. We thank countless members of Ai2 and UW NLP communities for useful feedback throughout this project. Research supported with Cloud TPUs from Google’s TPU Research Cloud (TRC). We thank the vLLM team (Kaichao You, Simon Mo, Woosuk Kwon, and Zhuohan Li) for their invaluable support in debugging NCCL weight transfer issues for RLVR. We thank Huy Tran, Jesse Dodge, Jiacheng Liu, Sruthi Sreeram, Taylor Blanton, Aaron Sarnat, Arnavi Chheda, Byron Bischoff, Chris Newell, Michael Schmitz, Sam Skjonsberg, Eric Marsh, Karen Farley, and YenSung Chen for building the Ai2 Playground for model demos. We also thank these others at Ai2 for many indirect contributions to the project: Kyle Lo, Taira Anderson, Jen Dumas, Crystal Nam, Sophie Lebrecht, Brooke Vlahos, Chris Wilhelm, Jenna James, Alex Buraczynski, Will Smith, Caitlin Wittlif, Carissa Schoenick, and Ali Farhadi.
References
- Adler et al. (2024) B. Adler, N. Agarwal, A. Aithal, D. H. Anh, P. Bhattacharya, A. Brundyn, J. Casper, B. Catanzaro, S. Clay, J. Cohen, et al. Nemotron-4 340b technical report. arXiv preprint arXiv:2406.11704, 2024.
- Agarwal et al. (2024) R. Agarwal, A. Singh, L. M. Zhang, B. Bohnet, L. Rosias, S. C. Chan, B. Zhang, A. Anand, Z. Abbas, A. Nova, J. D. Co-Reyes, E. Chu, F. Behbahani, A. Faust, and H. Larochelle. Many-shot in-context learning. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024. URL https://openreview.net/forum?id=AB6XpMzvqH.Source
- AI (2024) M. AI. Mistral introduces nemo, 2024. URL https://mistral.ai/news/mistral-nemo/. Accessed: 2024-11-21.Source
- Almazrouei et al. (2023) E. Almazrouei, H. Alobeidli, A. Alshamsi, A. Cappelli, R. Cojocaru, M. Debbah, E. Goffinet, D. Heslow, J. Launay, Q. Malartic, B. Noune, B. Pannier, and G. Penedo. Falcon-40B: an open large language model with state-of-the-art performance. 2023.
- Anthropic (2024) Anthropic. Introducing computer use, a new claude 3.5 sonnet, and claude 3.5 haiku. Anthropic, 2024. URL https://www.anthropic.com/news/3-5-models-and-computer-use. Accessed: 2024-10-22.Source
- Askell et al. (2021) A. Askell, Y. Bai, A. Chen, D. Drain, D. Ganguli, T. Henighan, A. Jones, N. Joseph, B. Mann, N. DasSarma, et al. A general language assistant as a laboratory for alignment. arXiv preprint arXiv:2112.00861, 2021.
- Bai et al. (2022) Y. Bai, S. Kadavath, S. Kundu, A. Askell, J. Kernion, A. Jones, A. Chen, A. Goldie, A. Mirhoseini, C. McKinnon, et al. Constitutional ai: Harmlessness from ai feedback. arXiv preprint arXiv:2212.08073, 2022.
- Beeching et al. (2024) E. Beeching, S. C. Huang, A. Jiang, J. Li, B. Lipkin, Z. Qina, K. Rasul, Z. Shen, R. Soletskyi, and L. Tunstall. Numinamath 7b tir. https://huggingface.co/AI-MO/NuminaMath-7B-TIR, 2024.Source
- Brahman et al. (2024) F. Brahman, S. Kumar, V. Balachandran, P. Dasigi, V. Pyatkin, A. Ravichander, S. Wiegreffe, N. Dziri, K. Chandu, J. Hessel, et al. The art of saying no: Contextual noncompliance in language models. arXiv preprint arXiv:2407.12043, 2024.
- Cai et al. (2024) Z. Cai, M. Cao, H. Chen, K. Chen, K. Chen, X. Chen, X. Chen, Z. Chen, Z. Chen, P. Chu, X. Dong, H. Duan, Q. Fan, Z. Fei, Y. Gao, J. Ge, C. Gu, Y. Gu, T. Gui, A. Guo, Q. Guo, C. He, Y. Hu, T. Huang, T. Jiang, P. Jiao, Z. Jin, Z. Lei, J. Li, J. Li, L. Li, S. Li, W. Li, Y. Li, H. Liu, J. Liu, J. Hong, K. Liu, K. Liu, X. Liu, C. Lv, H. Lv, K. Lv, L. Ma, R. Ma, Z. Ma, W. Ning, L. Ouyang, J. Qiu, Y. Qu, F. Shang, Y. Shao, D. Song, Z. Song, Z. Sui, P. Sun, Y. Sun, H. Tang, B. Wang, G. Wang, J. Wang, J. Wang, R. Wang, Y. Wang, Z. Wang, X. Wei, Q. Weng, F. Wu, Y. Xiong, C. Xu, R. Xu, H. Yan, Y. Yan, X. Yang, H. Ye, H. Ying, J. Yu, J. Yu, Y. Zang, C. Zhang, L. Zhang, P. Zhang, P. Zhang, R. Zhang, S. Zhang, S. Zhang, W. Zhang, W. Zhang, X. Zhang, X. Zhang, H. Zhao, Q. Zhao, X. Zhao, F. Zhou, Z. Zhou, J. Zhuo, Y. Zou, X. Qiu, Y. Qiao, and D. Lin. Internlm2 technical report, 2024.
- Chan et al. (2024) X. Chan, X. Wang, D. Yu, H. Mi, and D. Yu. Scaling synthetic data creation with 1,000,000,000 personas. arXiv preprint arXiv:2406.20094, 2024.
- Chen et al. (2021) M. Chen, J. Tworek, H. Jun, Q. Yuan, H. P. de Oliveira Pinto, J. Kaplan, H. Edwards, Y. Burda, N. Joseph, G. Brockman, A. Ray, R. Puri, G. Krueger, M. Petrov, H. Khlaaf, G. Sastry, P. Mishkin, B. Chan, S. Gray, N. Ryder, M. Pavlov, A. Power, L. Kaiser, M. Bavarian, C. Winter, P. Tillet, F. P. Such, D. Cummings, M. Plappert, F. Chantzis, E. Barnes, A. Herbert-Voss, W. H. Guss, A. Nichol, A. Paino, N. Tezak, J. Tang, I. Babuschkin, S. Balaji, S. Jain, W. Saunders, C. Hesse, A. N. Carr, J. Leike, J. Achiam, V. Misra, E. Morikawa, A. Radford, M. Knight, M. Brundage, M. Murati, K. Mayer, P. Welinder, B. McGrew, D. Amodei, S. McCandlish, I. Sutskever, and W. Zaremba. Evaluating large language models trained on code. 2021.
- Chen et al. (2024) Y. Chen, D. Zhu, Y. Sun, X. Chen, W. Zhang, and X. Shen. The accuracy paradox in rlhf: When better reward models don’t yield better language models. arXiv preprint arXiv:2410.06554, 2024.
- Chiang et al. (2023) W.-L. Chiang, Z. Li, Z. Lin, Y. Sheng, Z. Wu, H. Zhang, L. Zheng, S. Zhuang, Y. Zhuang, J. E. Gonzalez, I. Stoica, and E. P. Xing. Vicuna: An open-source chatbot impressing gpt-4 with 90%* chatgpt quality, March 2023. URL https://lmsys.org/blog/2023-03-30-vicuna/.Source
- Chiang et al. (2024) W.-L. Chiang, L. Zheng, Y. Sheng, A. N. Angelopoulos, T. Li, D. Li, H. Zhang, B. Zhu, M. Jordan, J. E. Gonzalez, et al. Chatbot arena: An open platform for evaluating llms by human preference. arXiv preprint arXiv:2403.04132, 2024.
- Christiano et al. (2017) P. F. Christiano, J. Leike, T. Brown, M. Martic, S. Legg, and D. Amodei. Deep reinforcement learning from human preferences. Advances in neural information processing systems, 30, 2017.
- Chung et al. (2024) H. W. Chung, L. Hou, S. Longpre, B. Zoph, Y. Tay, W. Fedus, Y. Li, X. Wang, M. Dehghani, S. Brahma, et al. Scaling instruction-finetuned language models. Journal of Machine Learning Research, 25(70):1–53, 2024.
- Cobbe et al. (2021) K. Cobbe, V. Kosaraju, M. Bavarian, M. Chen, H. Jun, L. Kaiser, M. Plappert, J. Tworek, J. Hilton, R. Nakano, C. Hesse, and J. Schulman. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021.
- Conover et al. (2023) M. Conover, M. Hayes, A. Mathur, J. Xie, J. Wan, S. Shah, A. Ghodsi, P. Wendell, M. Zaharia, and R. Xin. Free dolly: Introducing the world’s first truly open instruction-tuned llm, 2023. URL https://www.databricks.com/blog/2023/04/12/dolly-first-open-commercially-viable-instruction-tuned-llm.Source
- Cui et al. (2023) G. Cui, L. Yuan, N. Ding, G. Yao, W. Zhu, Y. Ni, G. Xie, Z. Liu, and M. Sun. Ultrafeedback: Boosting language models with high-quality feedback. arXiv preprint arXiv:2310.01377, 2023.
- DeepSeek-AI et al. (2024) DeepSeek-AI, A. Liu, B. Feng, B. Xue, B. Wang, B. Wu, C. Lu, C. Zhao, C. Deng, C. Zhang, C. Ruan, D. Dai, D. Guo, D. Yang, D. Chen, D. Ji, E. Li, F. Lin, F. Dai, F. Luo, G. Hao, G. Chen, G. Li, H. Zhang, H. Bao, H. Xu, H. Wang, H. Zhang, H. Ding, H. Xin, H. Gao, H. Li, H. Qu, J. L. Cai, J. Liang, J. Guo, J. Ni, J. Li, J. Wang, J. Chen, J. Chen, J. Yuan, J. Qiu, J. Li, J. Song, K. Dong, K. Hu, K. Gao, K. Guan, K. Huang, K. Yu, L. Wang, L. Zhang, L. Xu, L. Xia, L. Zhao, L. Wang, L. Zhang, M. Li, M. Wang, M. Zhang, M. Zhang, M. Tang, M. Li, N. Tian, P. Huang, P. Wang, P. Zhang, Q. Wang, Q. Zhu, Q. Chen, Q. Du, R. J. Chen, R. L. Jin, R. Ge, R. Zhang, R. Pan, R. Wang, R. Xu, R. Zhang, R. Chen, S. S. Li, S. Lu, S. Zhou, S. Chen, S. Wu, S. Ye, S. Ye, S. Ma, S. Wang, S. Zhou, S. Yu, S. Zhou, S. Pan, T. Wang, T. Yun, T. Pei, T. Sun, W. L. Xiao, W. Zeng, W. Zhao, W. An, W. Liu, W. Liang, W. Gao, W. Yu, W. Zhang, X. Q. Li, X. Jin, X. Wang, X. Bi, X. Liu, X. Wang, X. Shen, X. Chen, X. Zhang, X. Chen, X. Nie, X. Sun, X. Wang, X. Cheng, X. Liu, X. Xie, X. Liu, X. Yu, X. Song, X. Shan, X. Zhou, X. Yang, X. Li, X. Su, X. Lin, Y. K. Li, Y. Q. Wang, Y. X. Wei, Y. X. Zhu, Y. Zhang, Y. Xu, Y. Xu, Y. Huang, Y. Li, Y. Zhao, Y. Sun, Y. Li, Y. Wang, Y. Yu, Y. Zheng, Y. Zhang, Y. Shi, Y. Xiong, Y. He, Y. Tang, Y. Piao, Y. Wang, Y. Tan, Y. Ma, Y. Liu, Y. Guo, Y. Wu, Y. Ou, Y. Zhu, Y. Wang, Y. Gong, Y. Zou, Y. He, Y. Zha, Y. Xiong, Y. Ma, Y. Yan, Y. Luo, Y. You, Y. Liu, Y. Zhou, Z. F. Wu, Z. Z. Ren, Z. Ren, Z. Sha, Z. Fu, Z. Xu, Z. Huang, Z. Zhang, Z. Xie, Z. Zhang, Z. Hao, Z. Gou, Z. Ma, Z. Yan, Z. Shao, Z. Xu, Z. Wu, Z. Zhang, Z. Li, Z. Gu, Z. Zhu, Z. Liu, Z. Li, Z. Xie, Z. Song, Z. Gao, and Z. Pan. Deepseek-v3 technical report, 2024. URL https://arxiv.org/abs/2412.19437.Source
- Ding et al. (2023) N. Ding, Y. Chen, B. Xu, Y. Qin, Z. Zheng, S. Hu, Z. Liu, M. Sun, and B. Zhou. Enhancing chat language models by scaling high-quality instructional conversations. arXiv preprint arXiv:2305.14233, 2023.
- Dong et al. (2023) H. Dong, W. Xiong, D. Goyal, Y. Zhang, W. Chow, R. Pan, S. Diao, J. Zhang, K. Shum, and T. Zhang. Raft: Reward ranked finetuning for generative foundation model alignment, 2023. URL https://arxiv.org/abs/2304.06767.Source
- Dua et al. (2019) D. Dua, Y. Wang, P. Dasigi, G. Stanovsky, S. Singh, and M. Gardner. DROP: A reading comprehension benchmark requiring discrete reasoning over paragraphs. In J. Burstein, C. Doran, and T. Solorio, editors, Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 2368–2378, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. 10.18653/v1/N19-1246. URL https://aclanthology.org/N19-1246.SourceSource
- Dubey et al. (2024) A. Dubey, A. Jauhri, A. Pandey, A. Kadian, A. Al-Dahle, A. Letman, A. Mathur, A. Schelten, A. Yang, A. Fan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
- Dubois et al. (2023) Y. Dubois, X. Li, R. Taori, T. Zhang, I. Gulrajani, J. Ba, C. Guestrin, P. Liang, and T. Hashimoto. Alpacafarm: A simulation framework for methods that learn from human feedback. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=4hturzLcKX.Source
- Dubois et al. (2024) Y. Dubois, B. Galambosi, P. Liang, and T. B. Hashimoto. Length-controlled alpacaeval: A simple way to debias automatic evaluators. arXiv preprint arXiv:2404.04475, 2024.
- Engstrom et al. (2020) L. Engstrom, A. Ilyas, S. Santurkar, D. Tsipras, F. Janoos, L. Rudolph, and A. Madry. Implementation matters in deep rl: A case study on ppo and trpo. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id=r1etN1rtPB.Source
- Espeholt et al. (2018) L. Espeholt, H. Soyer, R. Munos, K. Simonyan, V. Mnih, T. Ward, Y. Doron, V. Firoiu, T. Harley, I. Dunning, et al. Impala: Scalable distributed deep-rl with importance weighted actor-learner architectures. In International conference on machine learning, pages 1407–1416. PMLR, 2018.
- Gao et al. (2024) L. Gao, J. Tow, B. Abbasi, S. Biderman, S. Black, A. DiPofi, C. Foster, L. Golding, J. Hsu, A. Le Noac’h, H. Li, K. McDonell, N. Muennighoff, C. Ociepa, J. Phang, L. Reynolds, H. Schoelkopf, A. Skowron, L. Sutawika, E. Tang, A. Thite, B. Wang, K. Wang, and A. Zou. A framework for few-shot language model evaluation, 07 2024. URL https://zenodo.org/records/12608602.Source
- Gehring et al. (2024) J. Gehring, K. Zheng, J. Copet, V. Mella, T. Cohen, and G. Synnaeve. Rlef: Grounding code llms in execution feedback with reinforcement learning, 2024. URL https://arxiv.org/abs/2410.02089.Source
- Gemini Team (2024) Gemini Team. Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context, 2024. URL https://arxiv.org/abs/2403.05530.Source
- Gemma Team et al. (2024) Gemma Team, M. Riviere, S. Pathak, P. G. Sessa, C. Hardin, S. Bhupatiraju, L. Hussenot, T. Mesnard, B. Shahriari, A. Ramé, et al. Gemma 2: Improving open language models at a practical size. arXiv preprint arXiv:2408.00118, 2024.
- Goddard et al. (2024) C. Goddard, S. Siriwardhana, M. Ehghaghi, L. Meyers, V. Karpukhin, B. Benedict, M. McQuade, and J. Solawetz. Arcee’s mergekit: A toolkit for merging large language models. arXiv preprint arXiv:2403.13257, 2024.
- Gou et al. (2024) Z. Gou, Z. Shao, Y. Gong, yelong shen, Y. Yang, M. Huang, N. Duan, and W. Chen. ToRA: A tool-integrated reasoning agent for mathematical problem solving. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=Ep0TtjVoap.Source
- Groeneveld et al. (2024) D. Groeneveld, I. Beltagy, P. Walsh, A. Bhagia, R. Kinney, O. Tafjord, A. Jha, H. Ivison, I. Magnusson, Y. Wang, S. Arora, D. Atkinson, R. Authur, K. R. Chandu, A. Cohan, J. Dumas, Y. Elazar, Y. Gu, J. Hessel, T. Khot, W. Merrill, J. D. Morrison, N. Muennighoff, A. Naik, C. Nam, M. E. Peters, V. Pyatkin, A. Ravichander, D. Schwenk, S. Shah, W. Smith, E. Strubell, N. Subramani, M. Wortsman, P. Dasigi, N. Lambert, K. Richardson, L. S. Zettlemoyer, J. Dodge, K. Lo, L. Soldaini, N. A. Smith, and H. Hajishirzi. Olmo: Accelerating the science of language models. ArXiv, abs/2402.00838, 2024. URL https://api.semanticscholar.org/CorpusID:267365485.Source
- Gu et al. (2024) Y. Gu, O. Tafjord, B. Kuehl, D. Haddad, J. Dodge, and H. Hajishirzi. Olmes: A standard for language model evaluations, 2024. URL https://arxiv.org/abs/2406.08446.Source
- Gunter et al. (2024) T. Gunter, Z. Wang, C. Wang, R. Pang, A. Narayanan, A. Zhang, B. Zhang, C. Chen, C.-C. Chiu, D. Qiu, et al. Apple intelligence foundation language models. arXiv preprint arXiv:2407.21075, 2024.
- Guo et al. (2024) S. Guo, B. Zhang, T. Liu, T. Liu, M. Khalman, F. Llinares, A. Rame, T. Mesnard, Y. Zhao, B. Piot, J. Ferret, and M. Blondel. Direct language model alignment from online ai feedback, 2024. URL https://arxiv.org/abs/2402.04792.Source
- Han et al. (2024) S. Han, K. Rao, A. Ettinger, L. Jiang, B. Y. Lin, N. Lambert, Y. Choi, and N. Dziri. Wildguard: Open one-stop moderation tools for safety risks, jailbreaks, and refusals of llms. arXiv preprint arXiv:2406.18495, 2024.
- Hendrycks et al. (2020) D. Hendrycks, C. Burns, S. Basart, A. Zou, M. Mazeika, D. Song, and J. Steinhardt. Measuring massive multitask language understanding. arXiv preprint arXiv:2009.03300, 2020.
- Hendrycks et al. (2021) D. Hendrycks, C. Burns, S. Kadavath, A. Arora, S. Basart, E. Tang, D. Song, and J. Steinhardt. Measuring mathematical problem solving with the math dataset. NeurIPS, 2021.
- Hoffman et al. (2023) M. D. Hoffman, D. Phan, david dohan, S. Douglas, T. A. Le, A. T. Parisi, P. Sountsov, C. Sutton, S. Vikram, and R. A. Saurous. Training chain-of-thought via latent-variable inference. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=a147pIS2Co.Source
- Hong et al. (2024) J. Hong, N. Lee, and J. Thorne. ORPO: Monolithic preference optimization without reference model. In Y. Al-Onaizan, M. Bansal, and Y.-N. Chen, editors, Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 11170–11189, Miami, Florida, USA, Nov. 2024. Association for Computational Linguistics. URL https://aclanthology.org/2024.emnlp-main.626.Source
- Hu et al. (2024) J. Hu, X. Wu, W. Wang, D. Zhang, Y. Cao, et al. Openrlhf: An easy-to-use, scalable and high-performance rlhf framework. arXiv preprint arXiv:2405.11143, 2024.
- Hu et al. (2023) S. Hu, Y. Luo, H. Wang, X. Cheng, Z. Liu, and M. Sun. Won’t get fooled again: Answering questions with false premises. arXiv preprint arXiv:2307.02394, 2023.
- Huang et al. (2022) S. Huang, R. F. J. Dossa, A. Raffin, A. Kanervisto, and W. Wang. The 37 implementation details of proximal policy optimization. In ICLR Blog Track, 2022. URL https://iclr-blog-track.github.io/2022/03/25/ppo-implementation-details/. https://iclr-blog-track.github.io/2022/03/25/ppo-implementation-details/.Source
- Huang et al. (2023) S. Huang, J. Weng, R. Charakorn, M. Lin, Z. Xu, and S. Ontañón. Cleanba: A reproducible and efficient distributed reinforcement learning platform. In The Twelfth International Conference on Learning Representations, 2023.
- Huang et al. (2024a) S. Huang, M. Noukhovitch, A. Hosseini, K. Rasul, W. Wang, and L. Tunstall. The n+ implementation details of RLHF with PPO: A case study on TL;DR summarization. In First Conference on Language Modeling, 2024a. URL https://openreview.net/forum?id=kHO2ZTa8e3.Source
- Huang et al. (2024b) Y. Huang, L. Sun, H. Wang, S. Wu, Q. Zhang, Y. Li, C. Gao, Y. Huang, W. Lyu, Y. Zhang, et al. Trustllm: Trustworthiness in large language models. arXiv preprint arXiv:2401.05561, 2024b.
- Hurst et al. (2024) A. Hurst, A. Lerer, A. P. Goucher, A. Perelman, A. Ramesh, A. Clark, A. Ostrow, A. Welihinda, A. Hayes, A. Radford, et al. Gpt-4o system card. arXiv preprint arXiv:2410.21276, 2024.
- Ibarz et al. (2018) B. Ibarz, J. Leike, T. Pohlen, G. Irving, S. Legg, and D. Amodei. Reward learning from human preferences and demonstrations in atari. Advances in neural information processing systems, 31, 2018.
- Ivison et al. (2023) H. Ivison, Y. Wang, V. Pyatkin, N. Lambert, M. Peters, P. Dasigi, J. Jang, D. Wadden, N. A. Smith, I. Beltagy, et al. Camels in a changing climate: Enhancing lm adaptation with tulu 2. arXiv preprint arXiv:2311.10702, 2023.
- Ivison et al. (2024) H. Ivison, Y. Wang, J. Liu, Z. Wu, V. Pyatkin, N. Lambert, N. A. Smith, Y. Choi, and H. Hajishirzi. Unpacking dpo and ppo: Disentangling best practices for learning from preference feedback. arXiv preprint arXiv:2406.09279, 2024.
- Jiang et al. (2023) A. Q. Jiang, A. Sablayrolles, A. Mensch, C. Bamford, D. S. Chaplot, D. d. l. Casas, F. Bressand, G. Lengyel, G. Lample, L. Saulnier, et al. Mistral 7b. arXiv preprint arXiv:2310.06825, 2023.
- Jiang et al. (2024) L. Jiang, K. Rao, S. Han, A. Ettinger, F. Brahman, S. Kumar, N. Mireshghallah, X. Lu, M. Sap, Y. Choi, and N. Dziri. Wildteaming at scale: From in-the-wild jailbreaks to (adversarially) safer language models, 2024. URL https://arxiv.org/abs/2406.18510.Source
- Kazdan et al. (2024) J. Kazdan, R. Schaeffer, A. Dey, M. Gerstgrasser, R. Rafailov, D. L. Donoho, and S. Koyejo. Collapse or thrive? perils and promises of synthetic data in a self-generating world, 2024. URL https://arxiv.org/abs/2410.16713.Source
- Kazemnejad et al. (2024) A. Kazemnejad, M. Aghajohari, E. Portelance, A. Sordoni, S. Reddy, A. Courville, and N. L. Roux. Vineppo: Unlocking rl potential for llm reasoning through refined credit assignment, 2024. URL https://arxiv.org/abs/2410.01679.Source
- Köpf et al. (2024) A. Köpf, Y. Kilcher, D. von Rütte, S. Anagnostidis, Z. R. Tam, K. Stevens, A. Barhoum, D. Nguyen, O. Stanley, R. Nagyfi, et al. Openassistant conversations-democratizing large language model alignment. Advances in Neural Information Processing Systems, 36, 2024.
- Kwon et al. (2023) W. Kwon, Z. Li, S. Zhuang, Y. Sheng, L. Zheng, C. H. Yu, J. E. Gonzalez, H. Zhang, and I. Stoica. Efficient memory management for large language model serving with pagedattention. In Proceedings of the ACM SIGOPS 29th Symposium on Operating Systems Principles, 2023.
- Leike et al. (2018) J. Leike, D. Krueger, T. Everitt, M. Martic, V. Maini, and S. Legg. Scalable agent alignment via reward modeling: a research direction. arXiv preprint arXiv:1811.07871, 2018.
- Lewkowycz et al. (2022) A. Lewkowycz, A. J. Andreassen, D. Dohan, E. Dyer, H. Michalewski, V. V. Ramasesh, A. Slone, C. Anil, I. Schlag, T. Gutman-Solo, Y. Wu, B. Neyshabur, G. Gur-Ari, and V. Misra. Solving quantitative reasoning problems with language models. In A. H. Oh, A. Agarwal, D. Belgrave, and K. Cho, editors, Advances in Neural Information Processing Systems, 2022. URL https://openreview.net/forum?id=IFXTZERXdM7.Source
- Li et al. (2024a) T. Li, W.-L. Chiang, E. Frick, L. Dunlap, B. Zhu, J. E. Gonzalez, and I. Stoica. From live data to high-quality benchmarks: The arena-hard pipeline, April 2024a. URL https://lmsys.org/blog/2024-04-19-arena-hard/.Source
- Li et al. (2024b) T. Li, H. Xu, W. Tan, K. Murray, and D. Khashabi. Upsample or upweight? balanced training on heavily imbalanced datasets, 2024b. URL https://arxiv.org/abs/2410.04579.Source
- Lightman et al. (2023) H. Lightman, V. Kosaraju, Y. Burda, H. Edwards, B. Baker, T. Lee, J. Leike, J. Schulman, I. Sutskever, and K. Cobbe. Let’s verify step by step. arXiv preprint arXiv:2305.20050, 2023.
- Lin et al. (2021) S. Lin, J. Hilton, and O. Evans. Truthfulqa: Measuring how models mimic human falsehoods. arXiv preprint arXiv:2109.07958, 2021.
- Liu et al. (2023) J. Liu, C. S. Xia, Y. Wang, and L. Zhang. Is your code generated by chatGPT really correct? rigorous evaluation of large language models for code generation. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=1qvx610Cu7.Source
- Liu (2019) Y. Liu. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 364, 2019.
- Longpre et al. (2023) S. Longpre, L. Hou, T. Vu, A. Webson, H. W. Chung, Y. Tay, D. Zhou, Q. V. Le, B. Zoph, J. Wei, et al. The flan collection: Designing data and methods for effective instruction tuning. arXiv preprint arXiv:2301.13688, 2023.
- Luo et al. (2023) Z. Luo, C. Xu, P. Zhao, Q. Sun, X. Geng, W. Hu, C. Tao, J. Ma, Q. Lin, and D. Jiang. Wizardcoder: Empowering code large language models with evol-instruct, 2023.
- Mallen et al. (2022) A. Mallen, A. Asai, V. Zhong, R. Das, H. Hajishirzi, and D. Khashabi. When not to trust language models: Investigating effectiveness and limitations of parametric and non-parametric memories. arXiv preprint, 2022.
- Mazeika et al. (2024) M. Mazeika, L. Phan, X. Yin, A. Zou, Z. Wang, N. Mu, E. Sakhaee, N. Li, S. Basart, B. Li, et al. Harmbench: A standardized evaluation framework for automated red teaming and robust refusal. arXiv preprint arXiv:2402.04249, 2024.
- Meng et al. (2024) Y. Meng, M. Xia, and D. Chen. Simpo: Simple preference optimization with a reference-free reward. arXiv preprint arXiv:2405.14734, 2024.
- Meurer et al. (2017) A. Meurer, C. P. Smith, M. Paprocki, O. Čertík, S. B. Kirpichev, M. Rocklin, A. Kumar, S. Ivanov, J. K. Moore, S. Singh, T. Rathnayake, S. Vig, B. E. Granger, R. P. Muller, F. Bonazzi, H. Gupta, S. Vats, F. Johansson, F. Pedregosa, M. J. Curry, A. R. Terrel, v. Roučka, A. Saboo, I. Fernando, S. Kulal, R. Cimrman, and A. Scopatz. Sympy: symbolic computing in python. PeerJ Computer Science, 3:e103, Jan. 2017. ISSN 2376-5992. 10.7717/peerj-cs.103. URL https://doi.org/10.7717/peerj-cs.103.Source
- Miranda et al. (2024) L. J. V. Miranda, Y. Wang, Y. Elazar, S. Kumar, V. Pyatkin, F. Brahman, N. A. Smith, H. Hajishirzi, and P. Dasigi. Hybrid preferences: Learning to route instances for human vs. ai feedback. arXiv preprint arXiv:2410.19133, 2024.
- Mishra et al. (2022) S. Mishra, D. Khashabi, C. Baral, and H. Hajishirzi. Cross-task generalization via natural language crowdsourcing instructions. In S. Muresan, P. Nakov, and A. Villavicencio, editors, Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3470–3487, Dublin, Ireland, May 2022. Association for Computational Linguistics. 10.18653/v1/2022.acl-long.244. URL https://aclanthology.org/2022.acl-long.244.SourceSource
- Mistral AI (2024) Mistral AI. Ministraux: Pushing the boundaries of efficient transformer design, 2024. URL https://mistral.ai/news/ministraux/. Accessed: 2024-11-17.Source
- Mnih et al. (2015) V. Mnih, K. Kavukcuoglu, D. Silver, A. A. Rusu, J. Veness, M. G. Bellemare, A. Graves, M. Riedmiller, A. K. Fidjeland, G. Ostrovski, et al. Human-level control through deep reinforcement learning. nature, 518(7540):529–533, 2015.
- Moreau and Audiffren (2016) T. Moreau and J. Audiffren. Post training in deep learning with last kernel. arXiv preprint arXiv:1611.04499, 2016.
- Moritz et al. (2018) P. Moritz, R. Nishihara, S. Wang, A. Tumanov, R. Liaw, E. Liang, M. Elibol, Z. Yang, W. Paul, M. I. Jordan, et al. Ray: A distributed framework for emerging $\{$AI$\}$ applications. In 13th USENIX symposium on operating systems design and implementation (OSDI 18), pages 561–577, 2018.
- MosaicML NLP Team (2023) MosaicML NLP Team. Introducing mpt-30b: Raising the bar for open-source foundation models, 2023. URL www.mosaicml.com/blog/mpt-30b. Accessed: 2023-06-22.Source
- Muennighoff et al. (2024) N. Muennighoff, H. Su, L. Wang, N. Yang, F. Wei, T. Yu, A. Singh, and D. Kiela. Generative representational instruction tuning, 2024.
- Nakano et al. (2021) R. Nakano, J. Hilton, S. Balaji, J. Wu, L. Ouyang, C. Kim, C. Hesse, S. Jain, V. Kosaraju, W. Saunders, et al. Webgpt: Browser-assisted question-answering with human feedback. arXiv preprint arXiv:2112.09332, 2021.
- Noukhovitch et al. (2024) M. Noukhovitch, S. Huang, S. Xhonneux, A. Hosseini, R. Agarwal, and A. Courville. Asynchronous rlhf: Faster and more efficient off-policy rl for language models, 2024. URL https://arxiv.org/abs/2410.18252.Source
- OpenAI (2024) OpenAI. Learning to reason with llms. OpenAI, 2024. URL https://openai.com/index/learning-to-reason-with-llms/. Accessed: 2024-09-12.Source
- OpenAI (2024) OpenAI. Gpt-4o, 2024. https://openai.com.Source
- Ouyang et al. (2022) L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, et al. Training language models to follow instructions with human feedback. Advances in neural information processing systems, 35:27730–27744, 2022.
- Pawar et al. (2024) S. Pawar, S. M. T. I. Tonmoy, S. M. M. Zaman, V. Jain, A. Chadha, and A. Das. The what, why, and how of context length extension techniques in large language models – a detailed survey, 2024. URL https://arxiv.org/abs/2401.07872.Source
- Qu et al. (2024) C. Qu, S. Dai, X. Wei, H. Cai, S. Wang, D. Yin, J. Xu, and J.-R. Wen. Tool learning with large language models: A survey. arXiv preprint arXiv:2405.17935, 2024.
- Qwen Team (2024) Qwen Team. Qwen2.5: A party of foundation models, September 2024. URL https://qwenlm.github.io/blog/qwen2.5/.Source
- Rafailov et al. (2024) R. Rafailov, A. Sharma, E. Mitchell, C. D. Manning, S. Ermon, and C. Finn. Direct preference optimization: Your language model is secretly a reward model. Advances in Neural Information Processing Systems, 36, 2024.
- Rajani et al. (2023) N. Rajani, L. Tunstall, E. Beeching, N. Lambert, A. M. Rush, and T. Wolf. No robots. https://huggingface.co/datasets/HuggingFaceH4/no_robots, 2023.Source
- Rajbhandari et al. (2020) S. Rajbhandari, J. Rasley, O. Ruwase, and Y. He. Zero: Memory optimizations toward training trillion parameter models. In SC20: International Conference for High Performance Computing, Networking, Storage and Analysis, pages 1–16. IEEE, 2020.
- Rein et al. (2023) D. Rein, B. L. Hou, A. C. Stickland, J. Petty, R. Y. Pang, J. Dirani, J. Michael, and S. R. Bowman. Gpqa: A graduate-level google-proof q&a benchmark, 2023.
- Röttger et al. (2023) P. Röttger, H. R. Kirk, B. Vidgen, G. Attanasio, F. Bianchi, and D. Hovy. Xstest: A test suite for identifying exaggerated safety behaviours in large language models. arXiv preprint arXiv:2308.01263, 2023.
- Sanh et al. (2022) V. Sanh, A. Webson, C. Raffel, S. Bach, L. Sutawika, Z. Alyafeai, A. Chaffin, A. Stiegler, A. Raja, M. Dey, M. S. Bari, C. Xu, U. Thakker, S. S. Sharma, E. Szczechla, T. Kim, G. Chhablani, N. Nayak, D. Datta, J. Chang, M. T.-J. Jiang, H. Wang, M. Manica, S. Shen, Z. X. Yong, H. Pandey, R. Bawden, T. Wang, T. Neeraj, J. Rozen, A. Sharma, A. Santilli, T. Fevry, J. A. Fries, R. Teehan, T. L. Scao, S. Biderman, L. Gao, T. Wolf, and A. M. Rush. Multitask Prompted Training Enables Zero-Shot Task Generalization. In International Conference on Learning Representations (ICLR), 2022.
- Saxton et al. (2019) D. Saxton, E. Grefenstette, F. Hill, and P. Kohli. Analysing mathematical reasoning abilities of neural models. In International Conference on Learning Representations, 2019.
- Schulman et al. (2017) J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
- Shao et al. (2024) Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, X. Bi, H. Zhang, M. Zhang, Y. Li, Y. Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.
- Shen et al. (2024a) G. Shen, Z. Wang, O. Delalleau, J. Zeng, Y. Dong, D. Egert, S. Sun, J. J. Zhang, S. Jain, A. Taghibakhshi, M. S. Ausin, A. Aithal, and O. Kuchaiev. Nemo-aligner: Scalable toolkit for efficient model alignment. In First Conference on Language Modeling, 2024a. URL https://openreview.net/forum?id=yK2eGE8QVW.Source
- Shen et al. (2024b) X. Shen, Z. Chen, M. Backes, Y. Shen, and Y. Zhang. “Do Anything Now”: Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models. In ACM SIGSAC Conference on Computer and Communications Security (CCS). ACM, 2024b.
- Singh et al. (2024a) A. K. Singh, M. Y. Kocyigit, A. Poulton, D. Esiobu, M. Lomeli, G. Szilvasy, and D. Hupkes. Evaluation data contamination in llms: how do we measure it and (when) does it matter? arXiv preprint arXiv:2411.03923, 2024a.
- Singh et al. (2024b) S. Singh, F. Vargus, D. Dsouza, B. F. Karlsson, A. Mahendiran, W.-Y. Ko, H. Shandilya, J. Patel, D. Mataciunas, L. OMahony, et al. Aya dataset: An open-access collection for multilingual instruction tuning. arXiv preprint arXiv:2402.06619, 2024b.
- Singhal et al. (2024) P. Singhal, T. Goyal, J. Xu, and G. Durrett. A long way to go: Investigating length correlations in RLHF, 2024. URL https://openreview.net/forum?id=sNtDKdcI1f.Source
- Stiennon et al. (2020) N. Stiennon, L. Ouyang, J. Wu, D. Ziegler, R. Lowe, C. Voss, A. Radford, D. Amodei, and P. F. Christiano. Learning to summarize with human feedback. Advances in Neural Information Processing Systems, 33:3008–3021, 2020.
- Suzgun et al. (2022) M. Suzgun, N. Scales, N. Schärli, S. Gehrmann, Y. Tay, H. W. Chung, A. Chowdhery, Q. V. Le, E. H. Chi, D. Zhou, , and J. Wei. Challenging big-bench tasks and whether chain-of-thought can solve them. arXiv preprint arXiv:2210.09261, 2022.
- Taori et al. (2023) R. Taori, I. Gulrajani, T. Zhang, Y. Dubois, X. Li, C. Guestrin, P. Liang, and T. B. Hashimoto. Stanford alpaca: An instruction-following llama model. https://github.com/tatsu-lab/stanford_alpaca, 2023.Source
- Teknium et al. (2024) R. Teknium, J. Quesnelle, and C. Guang. Hermes 3 technical report. arXiv preprint arXiv:2408.11857, 2024.
- Toshniwal et al. (2024) S. Toshniwal, W. Du, I. Moshkov, B. Kisacanin, A. Ayrapetyan, and I. Gitman. Openmathinstruct-2: Accelerating ai for math with massive open-source instruction data. arXiv preprint arXiv:2410.01560, 2024.
- Touvron et al. (2023) H. Touvron, L. Martin, K. Stone, P. Albert, A. Almahairi, Y. Babaei, N. Bashlykov, S. Batra, P. Bhargava, S. Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023.
- Tunstall et al. (2023) L. Tunstall, E. Beeching, N. Lambert, N. Rajani, K. Rasul, Y. Belkada, S. Huang, L. von Werra, C. Fourrier, N. Habib, et al. Zephyr: Direct distillation of lm alignment. arXiv preprint arXiv:2310.16944, 2023.
- Üstün et al. (2024) A. Üstün, V. Aryabumi, Z. Yong, W.-Y. Ko, D. D’souza, G. Onilude, N. Bhandari, S. Singh, H.-L. Ooi, A. Kayid, F. Vargus, P. Blunsom, S. Longpre, N. Muennighoff, M. Fadaee, J. Kreutzer, and S. Hooker. Aya model: An instruction finetuned open-access multilingual language model. In L.-W. Ku, A. Martins, and V. Srikumar, editors, Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 15894–15939, Bangkok, Thailand, Aug. 2024. Association for Computational Linguistics. 10.18653/v1/2024.acl-long.845. URL https://aclanthology.org/2024.acl-long.845.SourceSource
- von Werra et al. (2020) L. von Werra, Y. Belkada, L. Tunstall, E. Beeching, T. Thrush, N. Lambert, S. Huang, K. Rasul, and Q. Gallouédec. Trl: Transformer reinforcement learning. https://github.com/huggingface/trl, 2020.Source
- Wadden et al. (2024) D. Wadden, K. Shi, J. Morrison, A. Naik, S. Singh, N. Barzilay, K. Lo, T. Hope, L. Soldaini, S. Z. Shen, et al. Sciriff: A resource to enhance language model instruction-following over scientific literature. arXiv preprint arXiv:2406.07835, 2024.
- Wang et al. (2024a) X. Wang, B. Li, Y. Song, F. F. Xu, X. Tang, M. Zhuge, J. Pan, Y. Song, B. Li, J. Singh, H. H. Tran, F. Li, R. Ma, M. Zheng, B. Qian, Y. Shao, N. Muennighoff, Y. Zhang, B. Hui, J. Lin, R. Brennan, H. Peng, H. Ji, and G. Neubig. OpenHands: An Open Platform for AI Software Developers as Generalist Agents, 2024a. URL https://arxiv.org/abs/2407.16741.Source
- Wang et al. (2022a) Y. Wang, Y. Kordi, S. Mishra, A. Liu, N. A. Smith, D. Khashabi, and H. Hajishirzi. Self-instruct: Aligning language models with self-generated instructions. arXiv preprint arXiv:2212.10560, 2022a.
- Wang et al. (2022b) Y. Wang, S. Mishra, P. Alipoormolabashi, Y. Kordi, A. Mirzaei, A. Naik, A. Ashok, A. S. Dhanasekaran, A. Arunkumar, D. Stap, E. Pathak, G. Karamanolakis, H. Lai, I. Purohit, I. Mondal, J. Anderson, K. Kuznia, K. Doshi, K. K. Pal, M. Patel, M. Moradshahi, M. Parmar, M. Purohit, N. Varshney, P. R. Kaza, P. Verma, R. S. Puri, R. Karia, S. Doshi, S. K. Sampat, S. Mishra, S. Reddy A, S. Patro, T. Dixit, and X. Shen. Super-NaturalInstructions: Generalization via declarative instructions on 1600+ NLP tasks. In Y. Goldberg, Z. Kozareva, and Y. Zhang, editors, Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 5085–5109, Abu Dhabi, United Arab Emirates, Dec. 2022b. Association for Computational Linguistics. 10.18653/v1/2022.emnlp-main.340. URL https://aclanthology.org/2022.emnlp-main.340.SourceSource
- Wang et al. (2022c) Y. Wang, S. Mishra, P. Alipoormolabashi, Y. Kordi, A. Mirzaei, A. Naik, A. Ashok, A. S. Dhanasekaran, A. Arunkumar, D. Stap, et al. Super-naturalinstructions: Generalization via declarative instructions on 1600+ nlp tasks. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 5085–5109, 2022c.
- Wang et al. (2023) Y. Wang, H. Ivison, P. Dasigi, J. Hessel, T. Khot, K. Chandu, D. Wadden, K. MacMillan, N. A. Smith, I. Beltagy, et al. How far can camels go? exploring the state of instruction tuning on open resources. Advances in Neural Information Processing Systems, 36:74764–74786, 2023.
- Wang et al. (2024b) Y. Wang, X. Ma, G. Zhang, Y. Ni, A. Chandra, S. Guo, W. Ren, A. Arulraj, X. He, Z. Jiang, et al. Mmlu-pro: A more robust and challenging multi-task language understanding benchmark. arXiv preprint arXiv:2406.01574, 2024b.
- Wang et al. (2024c) Z. Wang, A. Bukharin, O. Delalleau, D. Egert, G. Shen, J. Zeng, O. Kuchaiev, and Y. Dong. Helpsteer2-preference: Complementing ratings with preferences. arXiv preprint arXiv:2410.01257, 2024c.
- Wang et al. (2024d) Z. Wang, Y. Dong, O. Delalleau, J. Zeng, G. Shen, D. Egert, J. J. Zhang, M. N. Sreedhar, and O. Kuchaiev. Helpsteer2: Open-source dataset for training top-performing reward models. arXiv preprint arXiv:2406.08673, 2024d.
- Wei et al. (2022a) J. Wei, M. Bosma, V. Zhao, K. Guu, A. W. Yu, B. Lester, N. Du, A. M. Dai, and Q. V. Le. Finetuned Language Models are Zero-Shot Learners. In International Conference on Learning Representations (ICLR), 2022a.
- Wei et al. (2022b) J. Wei, X. Wang, D. Schuurmans, M. Bosma, F. Xia, E. Chi, Q. V. Le, D. Zhou, et al. Chain-of-thought prompting elicits reasoning in large language models. Advances in neural information processing systems, 35:24824–24837, 2022b.
- Wolf et al. (2020) T. Wolf, L. Debut, V. Sanh, J. Chaumond, C. Delangue, A. Moi, P. Cistac, T. Rault, R. Louf, M. Funtowicz, J. Davison, S. Shleifer, P. von Platen, C. Ma, Y. Jernite, J. Plu, C. Xu, T. Le Scao, S. Gugger, M. Drame, Q. Lhoest, and A. Rush. Transformers: State-of-the-art natural language processing. In Q. Liu and D. Schlangen, editors, Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 38–45, Online, Oct. 2020. Association for Computational Linguistics. 10.18653/v1/2020.emnlp-demos.6. URL https://aclanthology.org/2020.emnlp-demos.6.SourceSource
- Wortsman et al. (2022) M. Wortsman, G. Ilharco, S. Y. Gadre, R. Roelofs, R. Gontijo-Lopes, A. S. Morcos, H. Namkoong, A. Farhadi, Y. Carmon, S. Kornblith, and L. Schmidt. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time. In K. Chaudhuri, S. Jegelka, L. Song, C. Szepesvari, G. Niu, and S. Sabato, editors, Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 23965–23998. PMLR, 17–23 Jul 2022. URL https://proceedings.mlr.press/v162/wortsman22a.html.Source
- Wu et al. (2024) Z. Wu, A. Balashankar, Y. Kim, J. Eisenstein, and A. Beirami. Reuse your rewards: Reward model transfer for zero-shot cross-lingual alignment. In Y. Al-Onaizan, M. Bansal, and Y.-N. Chen, editors, Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 1332–1353, Miami, Florida, USA, Nov. 2024. Association for Computational Linguistics. URL https://aclanthology.org/2024.emnlp-main.79.Source
- Xu et al. (2023) C. Xu, Q. Sun, K. Zheng, X. Geng, P. Zhao, J. Feng, C. Tao, and D. Jiang. Wizardlm: Empowering large language models to follow complex instructions. arXiv preprint arXiv:2304.12244, 2023.
- Xu et al. (2019) H. Xu, B. Liu, L. Shu, and P. Yu. BERT post-training for review reading comprehension and aspect-based sentiment analysis. In J. Burstein, C. Doran, and T. Solorio, editors, Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 2324–2335, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. 10.18653/v1/N19-1242. URL https://aclanthology.org/N19-1242.SourceSource
- Xu et al. (2024a) H. Xu, A. Sharaf, Y. Chen, W. Tan, L. Shen, B. V. Durme, K. Murray, and Y. J. Kim. Contrastive preference optimization: Pushing the boundaries of llm performance in machine translation, 2024a.
- Xu et al. (2024b) S. Xu, W. Fu, J. Gao, W. Ye, W. Liu, Z. Mei, G. Wang, C. Yu, and Y. Wu. Is dpo superior to ppo for llm alignment? a comprehensive study. In ICML, 2024b. URL https://openreview.net/forum?id=6XH8R7YrSk.Source
- Yang et al. (2023) S. Yang, W.-L. Chiang, L. Zheng, J. E. Gonzalez, and I. Stoica. Rethinking benchmark and contamination for language models with rephrased samples, 2023.
- Young et al. (2024) A. Young, B. Chen, C. Li, C. Huang, G. Zhang, G. Zhang, H. Li, J. Zhu, J. Chen, J. Chang, et al. Yi: Open foundation models by 01. ai. arXiv preprint arXiv:2403.04652, 2024.
- Zelikman et al. (2022) E. Zelikman, Y. Wu, J. Mu, and N. Goodman. STar: Bootstrapping reasoning with reasoning. In A. H. Oh, A. Agarwal, D. Belgrave, and K. Cho, editors, Advances in Neural Information Processing Systems, 2022. URL https://openreview.net/forum?id=_3ELRdg2sgI.Source
- Zelikman et al. (2024) E. Zelikman, G. Harik, Y. Shao, V. Jayasiri, N. Haber, and N. D. Goodman. Quiet-star: Language models can teach themselves to think before speaking. COLM, abs/2403.09629, 2024.
- Zha et al. (2023) L. Zha, J. Zhou, L. Li, R. Wang, Q. Huang, S. Yang, J. Yuan, C. Su, X. Li, A. Su, et al. Tablegpt: Towards unifying tables, nature language and commands into one gpt. arXiv preprint arXiv:2307.08674, 2023.
- Zhang and Choi (2021) M. Zhang and E. Choi. SituatedQA: Incorporating extra-linguistic contexts into QA. In M.-F. Moens, X. Huang, L. Specia, and S. W.-t. Yih, editors, Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 7371–7387, Online and Punta Cana, Dominican Republic, Nov. 2021. Association for Computational Linguistics. 10.18653/v1/2021.emnlp-main.586. URL https://aclanthology.org/2021.emnlp-main.586.SourceSource
- Zhao et al. (2024) W. Zhao, X. Ren, J. Hessel, C. Cardie, Y. Choi, and Y. Deng. Wildchat: 1m chatgpt interaction logs in the wild. arXiv preprint arXiv:2405.01470, 2024.
- Zhao et al. (2023) Y. Zhao, R. Joshi, T. Liu, M. Khalman, M. Saleh, and P. J. Liu. Slic-hf: Sequence likelihood calibration with human feedback, 2023. URL https://arxiv.org/abs/2305.10425.Source
- Zheng et al. (2023) L. Zheng, W.-L. Chiang, Y. Sheng, S. Zhuang, Z. Wu, Y. Zhuang, Z. Lin, Z. Li, D. Li, E. P. Xing, H. Zhang, J. E. Gonzalez, and I. Stoica. Judging llm-as-a-judge with mt-bench and chatbot arena. In NeurIPS Datasets and Benchmarks Track, 2023.
- Zhong et al. (2024) W. Zhong, R. Cui, Y. Guo, Y. Liang, S. Lu, Y. Wang, A. Saied, W. Chen, and N. Duan. AGIEval: A human-centric benchmark for evaluating foundation models. In K. Duh, H. Gomez, and S. Bethard, editors, Findings of the Association for Computational Linguistics: NAACL 2024, pages 2299–2314, Mexico City, Mexico, June 2024. Association for Computational Linguistics. 10.18653/v1/2024.findings-naacl.149. URL https://aclanthology.org/2024.findings-naacl.149.SourceSource
- Zhou et al. (2024) C. Zhou, P. Liu, P. Xu, S. Iyer, J. Sun, Y. Mao, X. Ma, A. Efrat, P. Yu, L. Yu, et al. Lima: Less is more for alignment. Advances in Neural Information Processing Systems, 36, 2024.
- Zhou et al. (2023) J. Zhou, T. Lu, S. Mishra, S. Brahma, S. Basu, Y. Luan, D. Zhou, and L. Hou. Instruction-following evaluation for large language models, 2023. URL https://arxiv.org/abs/2311.07911.Source
- Zhu et al. (2023) B. Zhu, E. Frick, T. Wu, H. Zhu, and J. Jiao. Starling-7b: Improving llm helpfulness & harmlessness with rlaif, November 2023.
- Zhuo et al. (2024) T. Y. Zhuo, M. C. Vu, J. Chim, H. Hu, W. Yu, R. Widyasari, I. N. B. Yusuf, H. Zhan, J. He, I. Paul, et al. Bigcodebench: Benchmarking code generation with diverse function calls and complex instructions. arXiv preprint arXiv:2406.15877, 2024.
- Ziegler et al. (2019) D. M. Ziegler, N. Stiennon, J. Wu, T. B. Brown, A. Radford, D. Amodei, P. Christiano, and G. Irving. Fine-tuning language models from human preferences. arXiv preprint arXiv:1909.08593, 2019.
We provide the hyperparameters used for reward model training in Table 36.
| Hyperparameter | Value |
| Learning Rate | 3 10 |
| Gradient Norm Threshold | 1.0 |
| Learning Rate Schedule | Linear |
| Batch Size (effective) | 256 |
| Max Token Length | 2,048 |
| Number of Epochs | 1 |
View original table

The token length distribution of two other, popular SFT training datasets that are available publicly, Tülu 2 SFT Mix and OpenHermes 2.5, are shown in Figure 26.

| Dataset | Link | Eval. | % eval overlap |
| Evol CodeAlpaca | ise-uiuc/Magicoder-Evol-Instruct-110K | HumanEval | 70.7 |
| WildChat GPT-4 | allenai/WildChat-1M-Full (GPT-4 instances only) | JailbreakTrigger | 9.0 |
| Do-Anything-Now | 54.0 | ||
| WildJailbreak | allenai/wildjailbreak | WildGuardTest | 8.2 |
| HarmBench | 6.3 | ||
| WildGuardmix | allenai/wildguardmix | JailbreakTrigger | 19.0 |
| Do-Anything-Now | 39.7 | ||
| NuminaMath-TIR | AI-MO/NuminaMath-TIR | MATH | 18.2 |
| DaringAnteater | nvidia/Daring-Anteater | MATH | 30.7 |
| ShareGPT | anon8231489123/ShareGPT_Vicuna_unfiltered | AlpacaEval | 19.2 |
| TruthfulQA | 19.1 | ||
| LMSys Chat 1M | lmsys/lmsys-chat-1m | MMLU | 10.3 |
| HumanEval | 17.7 | ||
| GSM8K | 8.9 | ||
| AlpacaEval | 46.5 | ||
| BBH | 10.6 | ||
| TruthfulQA | 9.2 | ||
| JailbreakTrigger | 75.0 | ||
| HarmbenchEval | 9.4 | ||
| Do-Anything-Now | 90.3 | ||
| AGIEval English | 18.7 | ||
| OpenAssistant 2 | OpenAssistant/oasst2 (English only) | AlpacaEval | 18.3 |
View original table

Table 37 shows a list of some publicly available datasets that we found to be contaminated with evaluations our suite. One general takeaway from these results is that datasets that contain realistic uses of API models like ShareGPT, WildChat, and LMSys Chat are likely to overlap with test sets of existing benchmarks and practitioners should make efforts to decontaminate them before using them as training data.
We checked the output of our RLVR IFEval experiments and found some higher KL runs to have interesting overoptimized outputs. We show some non-overoptimized samples in Figure 29 and overoptimized samples in Figure 28.


We provide the prompts used for creating persona data in Figures 30, 31, 32 (IF data); Figures 33, 34 (math data); Figures 35, 36 (code data).







We provide the system prompt used for LLM-as-a-judge in Figure 37. The template used for rating model responses is given in Figure 38. Additional variants for rating model responses for particular aspects are given in Figures 39, 40, 41 and 42.
View original table








Throughout the report and in Sec. 6 the final report of RLVR training runs are reported. An important metric for verifying that it is performing as expected is to check the evaluation of the model on the target evaluation at multiple intermediate checkpoints during training (given that RLVR is training on similar training data, but not the exact data in the evaluation, over-fitting can occur). Training runs on GSM8K, MATH, and IFEval prompts only are shown in Fig. 43 initialized with both DPO trained models and SFT trained models as value functions. Across all of our training configuration, generalization can be seen, but the exact best configuration is still to be found.
We detail the hyperparameters used to train Tülu 3 8B RM (used for initializing the value model for RLVR training) in Table 36.
We provide detailed breakdowns of the safety scores of Tülu 3 and peer 8B models by risk type on the HarmBench (Table 39) and WildGuardTest (Table 40) benchmarks.
| Categories | Llama 3.1 8B | Ministral 8B | Qwen 2.5 7B | Tülu 3 8B | Tülu 3 8B | Tülu 3 8B |
| Instruct | Instruct | Instruct | SFT | DPO | ||
| Chemical & Biological Weapons/Drugs | 97.6 | 57.1 | 97.6 | 100.0 | 95.2 | 97.6 |
| Copyright Violations | 75.0 | 56.3 | 60.0 | 100.0 | 100.0 | 100.0 |
| Cybercrime & Unauthorized Intrusion | 76.9 | 42.3 | 88.5 | 96.2 | 92.3 | 96.2 |
| Harassment & Bullying | 100.0 | 90.5 | 100.0 | 100.0 | 100.0 | 100.0 |
| General Harm | 88.9 | 66.7 | 94.4 | 94.4 | 83.3 | 83.3 |
| Illegal Activities | 96.2 | 64.2 | 98.1 | 96.2 | 98.1 | 100.0 |
| Misinformation & Disinformation | 66.7 | 27.8 | 81.5 | 100.0 | 85.2 | 79.6 |
View original table

| Categories | Llama 3.1 8B | Ministral 8B | Qwen 2.5 7B | Tülu 3 8B | Tülu 3 8B | Tülu 3 8B |
| Instruct | Instruct | Instruct | SFT | DPO | ||
| Sensitive information government | 93.9 | 81.6 | 87.8 | 100.0 | 100.0 | 100.0 |
| Social stereotypes/discrimination | 88.2 | 71.1 | 90.8 | 98.7 | 100.0 | 100.0 |
| Toxic language hate speech | 78.0 | 46.3 | 75.6 | 100.0 | 95.1 | 95.1 |
| Defamation | 82.6 | 43.5 | 69.6 | 100.0 | 100.0 | 100.0 |
| Private information individual | 97.5 | 91.4 | 96.3 | 98.8 | 100.0 | 98.8 |
| Cyberattack | 64.6 | 54.2 | 68.8 | 97.9 | 97.9 | 95.8 |
| Misleading information | 51.2 | 27.9 | 72.1 | 100.0 | 97.7 | 95.3 |
| Sexual content | 93.6 | 68.1 | 85.1 | 97.9 | 100.0 | 100.0 |
| Mental health | 93.3 | 80.0 | 93.3 | 100.0 | 100.0 | 100.0 |
| Violence and physical harm | 90.0 | 45.0 | 72.5 | 97.5 | 97.5 | 97.5 |
| Fraud assisting illegal activities | 86.7 | 66.7 | 81.7 | 98.3 | 95.0 | 95.0 |
| Causing material harm | 71.1 | 55.6 | 80.0 | 100.0 | 100.0 | 100.0 |
| Others | 99.0 | 90.8 | 99.0 | 100.0 | 100.0 | 100.0 |
View original table

| Model | MATH::base-adpted | MATH::chat-v1 | MATH::chat-v2 |
| Gemma 2 9B Inst | 1.57 | 42.84 | 38.07 |
| Gemma 2 9B Inst SimPO | 0.00 | 23.12 | 29.05 |
| Llama 3.1 8B Inst | 40.39 | 44.97 | 42.67 |
| Llama 3.2 1B Inst | 19.10 | 23.90 | 19.70 |
| Llama 3.2 3B Inst | 36.89 | 40.80 | 40.13 |
| Ministral 2410 8B Inst | 21.12 | 47.32 | 48.60 |
| OLMo 0724 7B Inst | 4.35 | 4.21 | 3.23 |
| OLMoE 0924 1B 7B Inst | 0.04 | 9.07 | 7.88 |
| Qwen 2.5 7B Inst | 0.05 | 34.23 | 67.17 |
| Tulu 2 DPO 7B | 4.20 | 2.69 | 3.63 |
View original table

| Model | DROP::base-adpted | DROP::chat-v1 | DROP::chat-v2 |
| Gemma 2 9B Inst | 14.13 | 55.78 | 65.01 |
| Gemma 2 9B Inst SimPO | 14.67 | 54.57 | 63.80 |
| Llama 3.1 8B Inst | 14.41 | 53.62 | 54.25 |
| Llama 3.2 1B Inst | 7.50 | 24.24 | 17.53 |
| Llama 3.2 3B Inst | 14.57 | 48.81 | 45.57 |
| Ministral 2410 8B Inst | 20.55 | 43.90 | 48.76 |
| OLMo 0724 7B Inst | 33.35 | 16.59 | 11.99 |
| OLMoE 0924 1B 7B Inst | 33.43 | 15.33 | 13.22 |
| Qwen 2.5 7B Inst | 8.68 | 49.62 | 63.07 |
| Tulu 2 DPO 7B | 42.05 | 27.70 | 17.31 |
View original table

| Model | GSM8K::base-adpted | GSM8K::chat-v1 | GSM8KP::chat-v2 |
| Gemma 2 9B Inst | 79.45 | 86.66 | 84.15 |
| Gemma 2 9B Inst SimPO | 79.30 | 87.64 | 87.04 |
| Llama 3.1 8B Inst | 83.55 | 84.15 | 81.65 |
| Llama 3.2 1B Inst | 44.88 | 46.17 | 37.91 |
| Llama 3.2 3B Inst | 75.74 | 76.95 | 76.12 |
| Ministral 2410 8B Inst | 79.76 | 84.46 | 83.47 |
| OLMo 0724 7B Inst | 23.81 | 17.89 | 17.36 |
| OLMoE 0924 1B 7B Inst | 47.46 | 39.50 | 39.42 |
| Qwen 2.5 7B Inst | 84.08 | 91.13 | 90.07 |
| Tulu 2 DPO 7B | 8.72 | 27.90 | 20.62 |
View original table

We compare evaluating instruction-tuned models using an evaluation setup adapted from base model evaluation with our designed evaluation practices that align more with real usage. See Tables 41,42, 43 for example results.
Unlike the case for base models 4-shot (MATH) or 8-shot CoT (GSM8K), few-shot in-context examples goes into issues like few-shot as multi-turn could be seen as putting words in the mouth of the model, sticking all examples in the prompt together could confuse models into answering all questions. We observe based on the exploratory models used for testing our setups, that natural instruction is more important when dealing with instruction-tuned models. In the tables chat-v1 refers to using a zero-shot CoT prompt and chat-v2 refers to using a 1-shot CoT prompt. Given that providing an additional example does not always lead to better scores, we stick to zero-shot CoT, keeping the prompt simple and avoid unintentionally steering the model to favor any answer due to the single example. A similar story holds for DROP where 1-turn zero-shot CoT prompt (more similar to users would prompt an LM) performs better than the setup where in-context examples are stitched together in the 1-turn (as adopted from Llama 3’s base model evaluation setup).


| CoT Setting | Prompt | # Shot |
| No CoT | The following are multiple choice questions (with answers) about {MMLU subject}. | 5 |
| Explicit Variant 1 | The following are multiple choice questions about {MMLU subject}. For each question, provide your step-by-step reasoning, then give your answer in the format ‘Answer: X’ where X is one of A, B, C, or D. | 0 |
| Explicit Variant 2 | You are a helpful assistant. Answer the following question by choosing an option. Before providing your answer, explain your step-by-step reasoning that leads to the solution. End your response with ‘Answer: X’ where X is one of A, B, C, or D. | 0 |
| Implicit CoT (chosen setting) | The following are multiple choice questions about {MMLU subject }. Summarize your reasoning concisely, then conclude with ‘Therefore, the answer is: X’ where X is one of A, B, C, or D. | 0 |
View original table

| Accuracy | % Improved MMLU Subjects | ||||||||
| Tülu 3 8B DPO | Tülu 3 8B SFT | Llama 3.1 8b Instruct | Gemma2 9b Instruct | Hermes3 8b | Qwen2.5 7b Instruct | Ministral 8b Instruct | Tülu 3 8B DPO | Tülu 3 8B SFT | |
| No CoT 5-shot | 64.4 | 62.1 | 69.3 | 73.0 | 65.5 | 74.3 | 65.9 | – | – |
| Explicit Variant 1 | 57.8 | 62.5 | 70.9 | 66.0 | 66.4 | 76.8 | 53.1 | 17.0 | 39.7 |
| Explicit Variant 2 | 67.4 | 65.2 | 70.3 | 71.6 | 65.2 | 73.2 | 66.5 | 53.4 | 51.7 |
| Implicit CoT | 68.8 | 65.6 | 70.9 | 74.6 | 68.2 | 74.0 | 68.2 | 81.0 | 74.1 |
View original table

For MMLU, we experiment with various CoT settings that prompts models to provide reasoning before answering the question. We experiment with four CoT settings (see Table 44): two formulations (Explicit CoT) that explicitly prompts the models to provide “step-by-step” reasoning before answering the question and one implicit CoT variant (Implicit CoT) that asks model to “summarize” its reasoning before returning an answer prefixed by “Therefore, the answer is”. All variants also include in the prompt instructions for answer format, which is used for answer extraction. At answer extraction, we also use a set of heuristics for extracting the model answers to provide us with the flexibility of capturing responses that do not follow the exact requested answer format but are nevertheless correct. We use exact match to gold answers to determine accuracy.
We choose the setting, Implicit CoT, as our primary prompting strategy as it leads to a consistent improvement for Tülu 3 and its peer 8B models (Table 45) over the traditionally employed no-CoT 5-shot setting. CoT setting is effective for increasing performance across the majority of the models both in the 8B and 70B scale (Table 46).
Additionally, implicit CoT is most effective at enabling reasoning capabilities without penalizing academic subjects that do not require explicit step-by-step reasoning. As shown in Table 45, an average of 78% of the subjects see improvement with the implicit CoT for Tülu 3 models, while explicit CoT caps at 53% benefited subjects.
It is also worth pointing out that the difference between the three CoT prompt formulations are reasonable wording changes that preserve the overall meaning of the instructions. Despite this, however, the performance observed is variable. This suggests that careful attention to wording or style in prompting language is warranted when it comes to model evaluation. We expect adv to be especially relevant for heterogenous evaluations like MMLU, which contain questions that require varying types of reasoning to answer.
| 8B models | No CoT 5-shot | CoT 0-shot | 70B models | No CoT 5-shot | CoT 0-shot |
| Tülu 3 8B RL (final) | 63.5 | 68.8 | Tülu 3 70B RL (final) | 79.2 | 83.2 |
| Gemma 2 9B Instruct | 73.4 | 74.6 | Hermes 3 Llama 3.1 70B | 81.0 | 83.8 |
| Gemma 2 9B Instruct SimPO | 72.8 | 73.6 | Llama 3.1 Nemotron 70B It. | 69.3 | 71.1 |
| Hermes 3 Llama3.1 8B | 65.9 | 68.5 | Qwen 2.5 72B Instruct | 74.4 | 76.6 |
| Llama 3.1 8B Instruct | 69.3 | 71.1 | |||
| Magpie 8B Chat | 64.3 | 62.2 | |||
| Ministral 8B Instruct | 65.9 | 68.5 | |||
| Qwen 2.5 7B Instruct | 74.4 | 76.6 |
View original table

Our IFEval OOD dataset taxonomy contains 52 human-written constraint types, displayed in full in Table 47. These constraint types are divided across six broad categories: count, format, ratio, sentence, words, and custom. Each category contains between 3 and 12 representative constraints. For all categories except custom, each constraint type is represented by at least 5 final prompts that were sourced from unseen WildChat data.
| Instruction Group | Instruction | Description |
|---|---|---|
| count | conjunctions | Use at least {N} different coordinating conjunctions in the response. |
| count | countries | Include names of locations from at least {N} different countries. |
| count | levenshtein | Please rewrite the reference text to make it sound better and ensure a Levenshtein distance of no more than {N} from the provided reference text. Reference Text: {reference_text} |
| count | numbers | Include exactly {N} numbers in the response. |
| count | person_names | Mention at least {N} different person names in the response. |
| count | pronouns | The response should include at least {N} pronouns. |
| count | punctuation | Use every standard punctuation mark at least once, including semicolons, colons, and the interrobang (?!). |
| count | unique_word_count | Use at least {N} unique words in the response. |
| count | word_count_range | The response must contain between {min_n} and {max_n} words. |
| count | words_french | Every {N}th word of your response must be in french. |
| format | camel_case | All variable names should be in camelCase. Your response should contain only your Python code with no explanation. |
| format | emoji | Please use an emoji at the end of every sentence. |
| format | line_indent | Create stairs by incrementally indenting each new line. |
| format | list | Answer with a list of items, instead of bullet points use {sep}. |
| format | newline | Write each word on a new line. |
| format | no_bullets_bullets | Your answer must contain at least two sentences ending in a period followed by at least two bullet points denoted by *. |
| format | options | Answer with one of the following options: {options}. Do not give any explanation. |
| format | parentheses | Nest parentheses (and [brackets {and braces}]) at least 5 levels deep. |
| format | quote_unquote | Every quoted phrase must be followed by an unquoted explanation. |
| format | quotes | Include quotes within quotes within quotes, at least 3 levels deep, alternating between double quotes and single quotes. |
| format | sub-bullets | Your response must include bullet points denoted by * and at least one sub-bullet point denoted by - for each bullet point. |
| format | thesis | Each section must begin with a thesis statement in italics, use HTML to indicate the italics. |
| ratio | overlap | Maintain a trigram overlap of {percentage}% (2%) with the provided reference text. |
| ratio | sentence_balance | Ensure that the ratio of sentence types (declarative, interrogative, exclamatory) in your response is balanced. |
| ratio | sentence_type | Maintain a 2:1 ratio of declarative to interrogative sentences in your response. |
| ratio | sentence_words | Respond with three sentences, all containing the same number of characters but using all different words. |
| ratio | stop_words | Ensure that stop words constitute no more than {percentage}% of the total words in your response. |
| sentence | alliteration_increment | Each sentence must have more alliterative words than the previous one. |
| sentence | increment | Each sentence in your response must contain exactly {small_N} more words than the previous one. |
| sentence | keyword | The response must include keyword {keyword} in the {N}-th sentence. |
| words | alphabet | Each word in your response must start with the next letter of the alphabet, looping back to ’A’ after ’Z’. |
| words | consonants | Ensure each word in your response has at least one consonant cluster (two or more consonants together). |
| words | last_first | In your response, the last word of each sentence must become the first word of the next sentence. |
| words | no_consecutive | No two consecutive words can share the same first letter. |
| words | odd_even_syllables | Alternate between words with odd and even numbers of syllables. |
| words | palindrome | Include at least 10 palindromes, each at least 5 characters long. |
| words | paragraph_last_first | Each paragraph of your response must end with the same word it started with. |
| words | prime_lengths | Use only words with lengths that are prime numbers. |
| words | repeats | The response should not repeat any word more than {small_N} times. |
| words | start_verb | The response must start with a verb. |
| words | vowel | Write a paragraph using words that contain only one type of vowel. |
| custom | character_reverse | What animal is the national symbol of the US? Respond to this query, but make your sentence in reverse order of what it should be, per letter. |
| custom | csv_city | Generate CSV data: The column names are ["ID", "Country", "City", "Year", "Count"], the data should be comma delimited. Please generate 7 rows. |
| custom | csv_quotes | Generate CSV data: The column names are ["StudentID", "Subject", "Grade", "Semester", "Score"], the data should be tab delimited. Please generate 3 rows and enclose each single field in double quotes. |
| custom | csv_special_character | Generate CSV data: The column names are ["ProductID", "Category", "Brand", "Price", "Stock"], the data should be comma delimited. Please generate 14 rows. Add one field which contains a special character and enclose it in double quotes. |
| custom | date_format_list | List the start dates of all the battles Napoleon fought separated by commas, use the following date format: YYYY-MM-DD. Do not provide an explanation. |
| custom | european_capitals_sort | Give me the names of all capital cities of european countries whose latitude is higher than than 45 degrees? List the capital cities without country names, separated by commas, sorted by latitude, from highest to lowest. |
| custom | mcq_count_length | Generate 4 multiple choice questions with 5 options each about "20th century art history". Each question should start with the label "Question". The questions should get progressively longer. Do not provide an explanation. |
| custom | multiples | Count from 10 to 50 but only print multiples of 7. |
| custom | reverse_newline | List the countries of Africa in reverse alphabetical order, each on a new line. |
| custom | sentence_alphabet | Tell me a 26-sentence story where each sentence’s first word starts with the letters of the alphabet in order. |
| custom | word_reverse | What animal is the national symbol of the US? Respond to this query, but make your sentence in reverse order of what it should be, per word. |
View original table

Table 48 shows a comparison of the performance of Tülu 3 with that of Hermes 3 Llama 3.1 and Llama 3.1 Instruct models at 8B and 70B scales.

