← all repositories

stanfordnlp/pyreft

A Python library implementing state-of-the-art Representation Fine-Tuning (ReFT) methods for pretrained language models.

1.6k stars Python Language ModelsML Frameworks
pyreft
Velocity · 7d
+1.9
★ / day
Trend
steady
star history

Pyreft is a Stanford NLP library implementing state-of-the-art Representation Fine-Tuning methods for pretrained language models. It enables training ReFT with any pretrained LMs on HuggingFace, supports configurable hyperparameters, and facilitates sharing results to HuggingFace. The library provides interventions on model representations as an alternative to LoRA and other PEFT approaches.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.