Drift is an open-source reinforcement learning framework designed to improve diffusion language models โ a newer type of AI that generates text differently than traditional models. The framework helps researchers and developers train AI models to become better at practical tasks like solving math problems, writing code that passes tests, and solving puzzles like Sudoku. It works by having the AI generate multiple possible answers, evaluating which ones are correct, and using that feedback to gradually improve. Drift supports two popular diffusion models (LLaDA and Dream), offers flexible training options from single-computer experiments to large-scale distributed training, and includes built-in tools to evaluate how well the trained model performs on standard benchmarks.
How It Works
You find Drift while looking for tools to make AI models better at math, coding, and puzzles using reinforcement learning.
You organize your problems and correct answers into simple JSON files โ math problems, coding challenges, or puzzles you want the AI to master.
You pick a pre-made configuration for math or code tasks, or customize how the AI learns โ adjusting how many attempts it gets and how it improves.
With one command, your AI begins learning โ it generates answers, checks them against correct solutions, and gradually gets better at solving your problems.
Perfect for getting started and experimenting with smaller datasets.
Scale up to train on large datasets much faster using many machines together.
The system automatically tracks how well your AI is doing, measuring accuracy on math problems and code tests as training progresses.
After training finishes, you have an AI that's better at solving math problems, writing code, and tackling puzzles โ ready to use or share with others.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.