Instructions to use ybelkada/test-opt-lora-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ybelkada/test-opt-lora-2 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("facebook/opt-350m") model = PeftModel.from_pretrained(base_model, "ybelkada/test-opt-lora-2") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from ybelkada/test-opt-lora-2: direct link, hf CLI and curl.
- Browser
- Download file 3.18 MB
-
https://huggingface.co/ybelkada/test-opt-lora-2/resolve/refs%2Fpr%2F1/adapter_model.bin
- Command line
-
hf download hf://ybelkada/test-opt-lora-2@refs/pr/1/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/ybelkada/test-opt-lora-2/resolve/refs%2Fpr%2F1/adapter_model.bin
3.18 MB
- Xet hash:
- 63c03a60df3f915bf02667bd161cbd6ec85830e73e3d56e6330418eecb479376
- Size of remote file:
- 3.18 MB
- SHA256:
- 61f792370bc046041e2e05596a485310329993843c950e8ab8f96a034e788672
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.