nyu-mll/glue
Viewer • Updated • 1.49M • 487k • 498
How to use sciarrilli/distilbert-base-uncased-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="sciarrilli/distilbert-base-uncased-cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("sciarrilli/distilbert-base-uncased-cola")
model = AutoModelForSequenceClassification.from_pretrained("sciarrilli/distilbert-base-uncased-cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("sciarrilli/distilbert-base-uncased-cola")
model = AutoModelForSequenceClassification.from_pretrained("sciarrilli/distilbert-base-uncased-cola")This model is a fine-tuned version of distilbert-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 | Matthews Correlation |
|---|---|---|---|---|
| 0.5216 | 1.0 | 535 | 0.5124 | 0.4104 |
| 0.3456 | 2.0 | 1070 | 0.5700 | 0.4692 |
| 0.2362 | 3.0 | 1605 | 0.7277 | 0.4844 |
| 0.1818 | 4.0 | 2140 | 0.7553 | 0.5007 |
| 0.1509 | 5.0 | 2675 | 0.9406 | 0.4987 |
| 0.1017 | 6.0 | 3210 | 0.9475 | 0.5387 |
| 0.0854 | 7.0 | 3745 | 1.0933 | 0.5317 |
| 0.051 | 8.0 | 4280 | 1.1719 | 0.5358 |
| 0.0512 | 9.0 | 4815 | 1.2296 | 0.5321 |
| 0.0308 | 10.0 | 5350 | 1.2715 | 0.5301 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="sciarrilli/distilbert-base-uncased-cola")