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
Download adapter_model.bin from ai-shift/sample-model-sft: direct link, hf CLI and curl.
- Browser
- Download file 134 MB
-
https://huggingface.co/ai-shift/sample-model-sft/resolve/main/adapter_model.bin
- Command line
-
hf download hf://ai-shift/sample-model-sft/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/ai-shift/sample-model-sft/resolve/main/adapter_model.bin
134 MB
- Xet hash:
- 50deb18eb84a0d968941e1d42c4163773293933a5aa96bb80bcf5dc6e08bda4a
- Size of remote file:
- 134 MB
- SHA256:
- 4dc7d9f46a9754ff529aaa41db5b4b01ddfbbdbb3234b9e4c3f2cdebd4a84e0b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.