nyu-mll/glue
Viewer • Updated • 1.49M • 688k • 775
How to use gokulsrinivasagan/tinybert_train_mrpc with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokulsrinivasagan/tinybert_train_mrpc") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokulsrinivasagan/tinybert_train_mrpc")
model = AutoModelForSequenceClassification.from_pretrained("gokulsrinivasagan/tinybert_train_mrpc", device_map="auto")This model is a fine-tuned version of gokulsrinivasagan/tinybert_train on the GLUE MRPC 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 | F1 | Combined Score |
|---|---|---|---|---|---|---|
| 0.6242 | 1.0 | 15 | 0.5963 | 0.7034 | 0.8124 | 0.7579 |
| 0.5773 | 2.0 | 30 | 0.5864 | 0.7108 | 0.8179 | 0.7643 |
| 0.5267 | 3.0 | 45 | 0.6171 | 0.6912 | 0.8050 | 0.7481 |
| 0.4673 | 4.0 | 60 | 0.6688 | 0.6569 | 0.7426 | 0.6998 |
| 0.3808 | 5.0 | 75 | 0.7635 | 0.6667 | 0.7703 | 0.7185 |
| 0.2868 | 6.0 | 90 | 0.8808 | 0.6299 | 0.7199 | 0.6749 |
| 0.2091 | 7.0 | 105 | 1.0290 | 0.6618 | 0.7629 | 0.7123 |
Base model
distilbert/distilbert-base-uncased