This is a repository containing the implementation for Getting More Juice Out of the SFT Data: Reward Learning from Human Demonstration Improves SFT for LLM Alignment, which has been accepted to NeurIPS 2024. The code is partially built upon SPIN.
The following steps provide the necessary setup to run our codes.
conda create -n myenv python=3.10
conda activate myenv
python -m pip install .
python -m pip install flash-attn --no-build-isolation
huggingface-cli login --token "${your_access_token}"
Right now for the RFT algorithm, we are migrating the algorithm to a new codebase https://github.com/Hong-Lab-UMN-ECE/IRLAlignment dedicated for IRL for fine-tuning. Please refer to the codebase for future use.
bash run_IRFT.sh
17 commits
Python
97.9%
Shell
2.1%
This is a repository containing the implementation for Getting More Juice Out of the SFT Data: Reward Learning from Human Demonstration Improves SFT for LLM Alignment, which has been accepted to NeurIPS 2024. The code is partially built upon SPIN.
The following steps provide the necessary setup to run our codes.
conda create -n myenv python=3.10
conda activate myenv
python -m pip install .
python -m pip install flash-attn --no-build-isolation
huggingface-cli login --token "${your_access_token}"
Right now for the RFT algorithm, we are migrating the algorithm to a new codebase https://github.com/Hong-Lab-UMN-ECE/IRLAlignment dedicated for IRL for fine-tuning. Please refer to the codebase for future use.
bash run_IRFT.sh
17 commits
Python
97.9%
Shell
2.1%