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
File size: 132 Bytes
7a49146 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:61f792370bc046041e2e05596a485310329993843c950e8ab8f96a034e788672
size 3178321
|