Downloads · 30 days
7
13% of all-time downloads
Sara-1990/distilbert-lora-sst2
distilbert-lora-sst2 is a text classification model from Sara-1990. Use it when you need a label for a piece of text. It is set up for peft. The card lists the license as mit.
Fine-tuned distilbert-base-uncased for binary sentiment classification using parameter-efficient LoRA (r=8) via the PEFT library.
Downloads · 30 days
7
13% of all-time downloads
All-time downloads
52
Public
Repo size
3 MB
Likes
0
Public
Click a slice to open those files.
.safetensors3 MB · 81%
From the Hugging Face model README
Fine-tuned distilbert-base-uncased for binary sentiment classification
using parameter-efficient LoRA (r=8) via the PEFT library.
Accuracy: ~92% on SST-2 validation set
Trainable parameters: ~0.8% of total
from transformers import pipeline classifier = pipeline("text-classification", model="Sara-1990/distilbert-lora-sst2") classifier("The paper results are surprisingly strong.")