allenai/open-instruct
AllenAI's post-training codebase
What it solves
Open Instruct provides a unified framework for instruction-tuning and post-training popular pretrained language models using publicly available datasets. It aims to make the process of creating high-quality, instruction-following models (like the Tülu series) open and reproducible by providing the necessary code, recipes, and artifacts.
How it works
The project implements a multi-stage post-training pipeline:
- Supervised Fine-Tuning (SFT): Uses a unified format for instruction datasets to finetune base models.
- Preference Tuning: Implements Direct Preference Optimization (DPO) and PPO to align models with human preferences.
- Reinforcement Learning with Verifiable Rewards (RLVR): Employs techniques like GRPO to train models using rewards that can be verified.
- Parameter-Efficient Tuning: Supports LoRA and QLoRA for more accessible finetuning.
Who it’s for
Researchers and developers who want to reproduce the Tulu models or apply advanced post-training techniques (SFT, DPO, RLVR) to open-source language models.
Highlights
- Comprehensive Pipeline: Covers the full spectrum from SFT to preference tuning and RLVR.
- Tülu Model Suite: Provides the training recipes and checkpoints for the Tülu 1, 2, and 3 series of models.
- Decontamination Tools: Includes scripts to measure overlap between training and evaluation datasets to ensure fair assessment.
- Broad Model Support: Compatible with Llama 3.1 and OLMo 2 models.
Related
- Dispatch
- Project
- Project
- Project
- Project