nyu-mll/glue
Viewer • Updated • 1.49M • 473k • 504
How to use vicclab/distilbert_sst2_finetuned with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="vicclab/distilbert_sst2_finetuned") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("vicclab/distilbert_sst2_finetuned")
model = AutoModelForSequenceClassification.from_pretrained("vicclab/distilbert_sst2_finetuned")This model is a fine-tuned version of distilbert-base-uncased on the glue 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.6883 | 0.24 | 500 | 0.6768 | 0.5115 |
| 0.5422 | 0.48 | 1000 | 0.4060 | 0.8200 |
| 0.3479 | 0.71 | 1500 | 0.3533 | 0.8452 |
| 0.3217 | 0.95 | 2000 | 0.3343 | 0.8567 |
| 0.2967 | 1.19 | 2500 | 0.3200 | 0.8635 |
| 0.2857 | 1.43 | 3000 | 0.3110 | 0.8624 |
| 0.2723 | 1.66 | 3500 | 0.3010 | 0.8670 |
| 0.2744 | 1.9 | 4000 | 0.2896 | 0.8727 |
| 0.2594 | 2.14 | 4500 | 0.2897 | 0.8716 |
| 0.2574 | 2.38 | 5000 | 0.2845 | 0.8761 |
| 0.2484 | 2.61 | 5500 | 0.2869 | 0.8739 |
| 0.2464 | 2.85 | 6000 | 0.2842 | 0.8761 |
| 0.2451 | 3.09 | 6500 | 0.2820 | 0.8773 |
| 0.2504 | 3.33 | 7000 | 0.2805 | 0.8784 |
| 0.236 | 3.56 | 7500 | 0.2833 | 0.875 |
| 0.2366 | 3.8 | 8000 | 0.2831 | 0.875 |