nyu-mll/glue
Viewer • Updated • 1.49M • 385k • 517
How to use BAHIJA/bert-base-uncased-finetuned-sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="BAHIJA/bert-base-uncased-finetuned-sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("BAHIJA/bert-base-uncased-finetuned-sst2")
model = AutoModelForSequenceClassification.from_pretrained("BAHIJA/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.1778 | 1.0 | 4210 | 0.3553 | 0.9060 |
| 0.1257 | 2.0 | 8420 | 0.2745 | 0.9346 |
| 0.0779 | 3.0 | 12630 | 0.3272 | 0.9300 |
| 0.0655 | 4.0 | 16840 | 0.3412 | 0.9323 |
| 0.0338 | 5.0 | 21050 | 0.3994 | 0.9300 |