#72 · Primary category: MLOps & Evaluation
alignment-handbook
Robust recipes to align language models with human and AI preferences
Project last updated:05/26/26
GitHub Stars
5.7K
Forks
491
Contributors
34
License
Apache-2.0
Why we included this project
Turning a base model into a chatbot that actually follows instructions takes more than a single fine-tuning pass. This handbook walks you through the whole post-training pipeline with runnable recipes: continued pretraining for domain or language adaptation, supervised fine-tuning, reward modeling, rejection sampling, and preference methods like DPO, ORPO, KTO, and IPO. The training scripts scale from DeepSpeed full fine-tuning on multi-GPU nodes down to LoRA or QLoRA on a single consumer GPU, and each recipe is a self-contained YAML config that reproduces a known model, giving you a verified baseline to compare against. If you're responsible for turning an open model into an in-house assistant, the evaluation scripts and dataset-formatting guidance are just as valuable as the training code.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
unsloth
Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, Kimi K3, MiniMax-H3, Gemma 4, FLUX and more.
LlamaFactory
Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)
airflow
Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
langfuse
🪢 Open source AI engineering platform: LLM evals, observability, metrics, prompt management, playground, datasets. Integrates with OpenTelemetry, LangChain, OpenAI SDK, LiteLLM, and more. 🍊YC W23
netron
Visualizer for neural network, deep learning and machine learning models