# huggingface/alignment\-handbook

> Robust recipes to align language models with human and AI preferences

Canonical: https://starboard.codevetter.com/explore/huggingface/alignment-handbook

[Back to Discover](https://starboard.codevetter.com/discover)

![huggingface](https://avatars.githubusercontent.com/u/25720743?v=4&s=40)

huggingface

# alignment\-handbook

[View on GitHub
](https://github.com/huggingface/alignment-handbook)

Robust recipes to align language models with human and AI preferences

llm
rlhf
transformers


5\.7k stars

Python

Updated 1d ago

Created Aug 25, 2023

## Star history

\+116 stars
2\.1% growth


## Detected tools

No detected tools yet\.

## Similar projects

[![huggingface](https://avatars.githubusercontent.com/u/25720743?v=4&s=24)

huggingface/ peft

🤗 PEFT: State\-of\-the\-art Parameter\-Efficient Fine\-Tuning\.

Python 22k 72%](https://starboard.codevetter.com/explore/huggingface/peft)[![huggingface](https://avatars.githubusercontent.com/u/25720743?v=4&s=24)

huggingface/ datasets

🤗 The largest hub of ready\-to\-use datasets for AI models with fast, easy\-to\-use and efficient data manipulation tools

Python 22k 74%](https://starboard.codevetter.com/explore/huggingface/datasets)[![huggingface](https://avatars.githubusercontent.com/u/25720743?v=4&s=24)

huggingface/ trl

Train transformer language models with reinforcement learning\.

Python 20k 73%](https://starboard.codevetter.com/explore/huggingface/trl)[![huggingface](https://avatars.githubusercontent.com/u/25720743?v=4&s=24)

huggingface/ parler\-tts

Inference and training library for high\-quality TTS models\.

Python 5\.6k 74%](https://starboard.codevetter.com/explore/huggingface/parler-tts)[![huggingface](https://avatars.githubusercontent.com/u/25720743?v=4&s=24)

huggingface/ speech\-to\-speech

Build voice agents with open\-source models

Python 14k 74%](https://starboard.codevetter.com/explore/huggingface/speech-to-speech)[![huggingface](https://avatars.githubusercontent.com/u/25720743?v=4&s=24)

huggingface/ accelerate

🚀 A simple way to launch, train, and use PyTorch models on almost any device and distributed configuration, automatic mixed precision \(including fp8\), and easy\-to\-configure FSDP and DeepSpeed support

Python 10\.0k 73%](https://starboard.codevetter.com/explore/huggingface/accelerate)[![huggingface](https://avatars.githubusercontent.com/u/25720743?v=4&s=24)

huggingface/ text\-generation\-inference

Large Language Model Text Generation Inference

Python 11k 73%](https://starboard.codevetter.com/explore/huggingface/text-generation-inference)[![huggingface](https://avatars.githubusercontent.com/u/25720743?v=4&s=24)

huggingface/ transformers

🤗 Transformers: the model\-definition framework for state\-of\-the\-art machine learning models in text, vision, audio, and multimodal models, for both inference and training\.

Python 169k 69%](https://starboard.codevetter.com/explore/huggingface/transformers)
