nyu-mll/glue
Viewer • Updated • 1.49M • 472k • 497
How to use gokuls/bert-tiny-sst2-KD-BERT with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokuls/bert-tiny-sst2-KD-BERT") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/bert-tiny-sst2-KD-BERT")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/bert-tiny-sst2-KD-BERT")This model is a fine-tuned version of google/bert_uncased_L-2_H-128_A-2 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.7521 | 1.0 | 4210 | 0.7345 | 0.8234 |
| 0.4301 | 2.0 | 8420 | 0.7748 | 0.8303 |
| 0.3335 | 3.0 | 12630 | 0.8257 | 0.8349 |
| 0.2831 | 4.0 | 16840 | 0.9145 | 0.8188 |
| 0.2419 | 5.0 | 21050 | 0.9096 | 0.8177 |
| 0.2149 | 6.0 | 25260 | 0.8410 | 0.8234 |