nyu-mll/glue
Viewer • Updated • 1.49M • 481k • 501
How to use philschmid/MiniLMv2-L6-H768-sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="philschmid/MiniLMv2-L6-H768-sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("philschmid/MiniLMv2-L6-H768-sst2")
model = AutoModelForSequenceClassification.from_pretrained("philschmid/MiniLMv2-L6-H768-sst2")This model is a fine-tuned version of nreimers/MiniLMv2-L6-H768-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.4734 | 1.0 | 264 | 0.2046 | 0.9243 |
| 0.2399 | 2.0 | 528 | 0.1912 | 0.9346 |
| 0.1791 | 3.0 | 792 | 0.1943 | 0.9335 |
| 0.1442 | 4.0 | 1056 | 0.2103 | 0.9369 |
| 0.1217 | 5.0 | 1320 | 0.2013 | 0.9427 |