nyu-mll/glue
Viewer • Updated • 1.49M • 465k • 504
How to use sasuke/bert-base-uncased-finetuned-sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="sasuke/bert-base-uncased-finetuned-sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("sasuke/bert-base-uncased-finetuned-sst2")
model = AutoModelForSequenceClassification.from_pretrained("sasuke/bert-base-uncased-finetuned-sst2")This model is a fine-tuned version of bert-base-uncased 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.1817 | 1.0 | 4210 | 0.2920 | 0.9186 |
| 0.1297 | 2.0 | 8420 | 0.3069 | 0.9209 |
| 0.0978 | 3.0 | 12630 | 0.2982 | 0.9323 |
| 0.062 | 4.0 | 16840 | 0.3278 | 0.9312 |
| 0.0303 | 5.0 | 21050 | 0.3642 | 0.9323 |