Instructions to use ai-shift/sample-model-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ai-shift/sample-model-sft with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("cyberagent/open-calm-7b") model = PeftModel.from_pretrained(base_model, "ai-shift/sample-model-sft") - Notebooks
- Google Colab
- Kaggle
File size: 27 Bytes
6d4d6c4 | 1 2 3 4 | ---
library_name: peft
---
|