Instructions to use lewtun/kto-aligned-model-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use lewtun/kto-aligned-model-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("trl-lib/qwen1.5-1.8b-sft") model = PeftModel.from_pretrained(base_model, "lewtun/kto-aligned-model-lora") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 899bc881a3c3866e9a25c7cf5b5f3236c73b0dcf00ffcf52f8450f2b02135899
- Size of remote file:
- 60 MB
- SHA256:
- bff7df1ac16e931a61b79bdfc55cc6baaa21be8725ff3aa710e164fd20292650
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.