nyu-mll/glue
Viewer • Updated • 1.49M • 472k • 497
How to use gokuls/bert-base-uncased-sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokuls/bert-base-uncased-sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/bert-base-uncased-sst2")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/bert-base-uncased-sst2")This model is a fine-tuned version of bert-base-uncased on the GLUE SST2 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.2103 | 1.0 | 527 | 0.2507 | 0.9048 |
| 0.1082 | 2.0 | 1054 | 0.2333 | 0.9128 |
| 0.0724 | 3.0 | 1581 | 0.2371 | 0.9186 |
| 0.0521 | 4.0 | 2108 | 0.2582 | 0.9186 |
| 0.0393 | 5.0 | 2635 | 0.3094 | 0.9220 |
| 0.0302 | 6.0 | 3162 | 0.3506 | 0.9197 |
| 0.0258 | 7.0 | 3689 | 0.4149 | 0.9071 |
| 0.0209 | 8.0 | 4216 | 0.3121 | 0.9174 |
| 0.018 | 9.0 | 4743 | 0.4919 | 0.9060 |