nyu-mll/glue
Viewer • Updated • 1.49M • 458k • 495
How to use edbeeching/test-trainer-to-hub with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="edbeeching/test-trainer-to-hub") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("edbeeching/test-trainer-to-hub")
model = AutoModelForSequenceClassification.from_pretrained("edbeeching/test-trainer-to-hub")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("edbeeching/test-trainer-to-hub")
model = AutoModelForSequenceClassification.from_pretrained("edbeeching/test-trainer-to-hub")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 | F1 |
|---|---|---|---|---|---|
| No log | 1.0 | 459 | 0.4489 | 0.8235 | 0.8792 |
| 0.5651 | 2.0 | 918 | 0.4885 | 0.8260 | 0.8811 |
| 0.3525 | 3.0 | 1377 | 0.7352 | 0.8456 | 0.8938 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="edbeeching/test-trainer-to-hub")