Hyper fast fine tuning for LLMs using PyReft.
- Install pip install torch==2.2.0 transformers pyreft
- Replace your HF token with access tokens from here
https://huggingface.co/settings/tokens
- Run the training pipeline
python train.py
- Score using the scoring pipeline
python score.py
-PyReft:Pyreft library from the awesome Stanford NLP team.
-ReFt Paper:Research paper talking about Representation Fine Tuning.
👨🏾💻 Author: Nick Renotte
📅 Version: 1.x
📜 License: This project is licensed under the MIT License