nyu-mll/glue
Viewer โข Updated โข 1.49M โข 490k โข 789
This model is a Full Fine-Tuning version of distilbert/distilbert-base-uncased for binary sentiment classification (0: Negative, 1: Positive), trained on the SST-2 subset of the GLUE benchmark (nyu-mll/glue).
distilbert/distilbert-base-uncasednum_labels=2)nyu-mll/glue (sst2)trainvalidation66,955,010 (100% of model parameters)| Parameter | Value |
|---|---|
| Fine-Tuning Method | Full Fine-Tuning |
| Epochs | 3 |
| Batch Size | 16 |
| Learning Rate | 2e-5 |
| Weight Decay | 0.01 |
| Max Sequence Length | 128 |
| Random Seed | 42 |
Evaluated on the validation split of SST-2:
| Metric | Score |
|---|---|
| Accuracy | 0.9197 |
| Precision (Positive Class) | 0.9137 |
| Recall (Positive Class) | 0.9302 |
| Macro F1 | 0.9197 |
| Predicted Negative | Predicted Positive | |
|---|---|---|
| Actual Negative | 389 | 39 |
| Actual Positive | 31 | 413 |
Note: Reported metrics are evaluated on the validation split, as SST-2 test labels are withheld on the GLUE benchmark.
pipeline
from transformers import pipeline
repo_id = "MohamedSayed112/sst2-distilbert-full-ft"
classifier = pipeline("text-classification", model=repo_id, tokenizer=repo_id)
result = classifier("The movie was surprisingly engaging and well-paced.")
print(result)
For a parameter-efficient fine-tuning comparison on the same task and dataset, see
MohamedSayed112/sst2-distilbert-LoRA.
Base model
distilbert/distilbert-base-uncased