nyu-mll/glue
Viewer • Updated • 1.49M • 470k • 497
How to use gokuls/bert-tiny-sst2-KD-distilBERT with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokuls/bert-tiny-sst2-KD-distilBERT") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/bert-tiny-sst2-KD-distilBERT")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/bert-tiny-sst2-KD-distilBERT")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 |
|---|---|---|---|---|
| 1.2008 | 1.0 | 4210 | 1.1319 | 0.8177 |
| 0.6821 | 2.0 | 8420 | 1.1035 | 0.8326 |
| 0.5315 | 3.0 | 12630 | 1.2271 | 0.8245 |
| 0.4486 | 4.0 | 16840 | 1.4426 | 0.8177 |
| 0.3857 | 5.0 | 21050 | 1.4309 | 0.8303 |