nicknochnack / PyReft

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LoReFT

Hyper fast fine tuning for LLMs using PyReft.

See it live and in action πŸ“Ί

Startup πŸš€

  1. Install pip install torch==2.2.0 transformers pyreft
  2. Replace your HF token with access tokens from here https://huggingface.co/settings/tokens
  3. Run the training pipeline python train.py
  4. Score using the scoring pipeline python score.py

Other References πŸ”—

-PyReft:Pyreft library from the awesome Stanford NLP team.

-ReFt Paper:Research paper talking about Representation Fine Tuning.

Who, When, Why?

πŸ‘¨πŸΎβ€πŸ’» Author: Nick Renotte
πŸ“… Version: 1.x
πŸ“œ License: This project is licensed under the MIT License

About


Languages

Language:Python 100.0%