nyu-mll/glue
Viewer • Updated • 1.49M • 453k • 525
How to use lindeberg/tiny-bert-sst2-distilled with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="lindeberg/tiny-bert-sst2-distilled") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("lindeberg/tiny-bert-sst2-distilled")
model = AutoModelForSequenceClassification.from_pretrained("lindeberg/tiny-bert-sst2-distilled", 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.8025 | 1.0 | 527 | 1.3940 | 0.7901 |
| 1.1308 | 2.0 | 1054 | 1.2916 | 0.8039 |
Base model
google/bert_uncased_L-2_H-128_A-2