nyu-mll/glue
Viewer • Updated • 1.49M • 428k • 523
How to use gokuls/bert-tiny-sst2-KD-BERT_and_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-BERT_and_distilBERT") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/bert-tiny-sst2-KD-BERT_and_distilBERT")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/bert-tiny-sst2-KD-BERT_and_distilBERT", device_map="auto")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.7317 | 1.0 | 4210 | 1.5887 | 0.8222 |
| 1.0068 | 2.0 | 8420 | 1.5530 | 0.8326 |
| 0.7961 | 3.0 | 12630 | 1.7072 | 0.8245 |
| 0.6852 | 4.0 | 16840 | 1.8794 | 0.8177 |
| 0.6039 | 5.0 | 21050 | 1.8691 | 0.8142 |