nyu-mll/glue
Viewer • Updated • 1.49M • 476k • 498
How to use alejoa/bert-sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="alejoa/bert-sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("alejoa/bert-sst2")
model = AutoModelForSequenceClassification.from_pretrained("alejoa/bert-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.2447 | 1.0 | 8419 | 0.3422 | 0.9117 |
| 0.1435 | 2.0 | 16838 | 0.3616 | 0.9140 |