nyu-mll/glue
Viewer • Updated • 1.49M • 470k • 497
How to use gokuls/bert-base-sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gokuls/bert-base-sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gokuls/bert-base-sst2")
model = AutoModelForSequenceClassification.from_pretrained("gokuls/bert-base-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.243 | 1.0 | 4210 | 0.3735 | 0.9037 |
| 0.1557 | 2.0 | 8420 | 0.3907 | 0.8922 |
| 0.1248 | 3.0 | 12630 | 0.3690 | 0.8945 |
| 0.1017 | 4.0 | 16840 | 0.5466 | 0.8830 |