Instructions to use ybelkada/test-opt-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ybelkada/test-opt-lora 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") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#1 opened over 2 years ago
by
librarian-bot