stanfordnlp/imdb
Viewer • Updated • 100k • 269k • 375
How to use jmeneu/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, "jmeneu/distilbert-base-uncased-lora-text-classification")This model is a fine-tuned version of distilbert-base-uncased on the imdb dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.7852 | 1.0 | 5000 | 0.4518 | {'accuracy': 0.8486} |
| 0.6289 | 2.0 | 10000 | 0.4492 | {'accuracy': 0.8528} |
| 0.0503 | 3.0 | 15000 | 0.4297 | {'accuracy': 0.86} |
Base model
distilbert/distilbert-base-uncased