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: 134 Bytes
6d4d6c4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:4dc7d9f46a9754ff529aaa41db5b4b01ddfbbdbb3234b9e4c3f2cdebd4a84e0b
size 134240497
|