Instructions to use manu02/distilbert-base-uncased-lora-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use manu02/distilbert-base-uncased-lora-text-classification with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased") model = PeftModel.from_pretrained(base_model, "manu02/distilbert-base-uncased-lora-text-classification") - Transformers
How to use manu02/distilbert-base-uncased-lora-text-classification with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("manu02/distilbert-base-uncased-lora-text-classification", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K