nyu-mll/glue
Viewer • Updated • 1.49M • 484k • 500
How to use philschmid/bert-mini-sst2-distilled with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="philschmid/bert-mini-sst2-distilled") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("philschmid/bert-mini-sst2-distilled")
model = AutoModelForSequenceClassification.from_pretrained("philschmid/bert-mini-sst2-distilled")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("philschmid/bert-mini-sst2-distilled")
model = AutoModelForSequenceClassification.from_pretrained("philschmid/bert-mini-sst2-distilled")This model is a fine-tuned version of google/bert_uncased_L-4_H-256_A-4 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 |
|---|---|---|---|---|
| 2.1552 | 1.0 | 66 | 1.4847 | 0.8349 |
| 0.8451 | 2.0 | 132 | 1.3495 | 0.8624 |
| 0.5864 | 3.0 | 198 | 1.2257 | 0.8532 |
| 0.4553 | 4.0 | 264 | 1.2571 | 0.8544 |
| 0.3708 | 5.0 | 330 | 1.2132 | 0.8658 |
| 0.3086 | 6.0 | 396 | 1.2370 | 0.8589 |
| 0.2701 | 7.0 | 462 | 1.1900 | 0.8635 |
| 0.246 | 8.0 | 528 | 1.1792 | 0.8567 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="philschmid/bert-mini-sst2-distilled")