nyu-mll/glue
Viewer • Updated • 1.49M • 486k • 502
How to use philschmid/MiniLMv2-L6-H384-sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="philschmid/MiniLMv2-L6-H384-sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("philschmid/MiniLMv2-L6-H384-sst2")
model = AutoModelForSequenceClassification.from_pretrained("philschmid/MiniLMv2-L6-H384-sst2")This model is a fine-tuned version of nreimers/MiniLMv2-L6-H384-distilled-from-RoBERTa-Large 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.5787 | 1.0 | 264 | 0.3496 | 0.8624 |
| 0.3413 | 2.0 | 528 | 0.2599 | 0.8991 |
| 0.2716 | 3.0 | 792 | 0.2651 | 0.9048 |
| 0.2343 | 4.0 | 1056 | 0.2532 | 0.9197 |
| 0.2165 | 5.0 | 1320 | 0.2636 | 0.9151 |