mirror of
https://github.com/wassname/alignment-handbook.git
synced 2026-07-20 12:10:44 +08:00
8ae703910577a85b0abb9ae640db67f9046f83b0
Doc builder testing PR
The RLHF Handbook
Robust recipes for RLHF
Developing
To view this locally, run the following (need to point to a specific language if previewing only one section, preview/build_doc does not use the --language flag):
doc-builder preview rlhf-handbook {docs_dir} --not_python_module
Example docs_dir is ~/Documents/HuggingFace/dev/rlhf-handbook/chapters/en
Installation
Create a new conda environment with:
conda create -n rlhf-handbook python=3.10
Install the limited requirements with
pip install -r requirements.txt
Description
Robust recipes to align language models with human and AI preferences
850 KiB
Languages
Python
64.1%
Jupyter Notebook
32.5%
Shell
2.7%
Makefile
0.7%