nyu-mll/glue
Viewer • Updated • 1.49M • 465k • 504
How to use laguarage/distilbert-base-uncased-finetuned-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="laguarage/distilbert-base-uncased-finetuned-cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("laguarage/distilbert-base-uncased-finetuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("laguarage/distilbert-base-uncased-finetuned-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.5236 | 1.0 | 535 | 0.4631 | 0.4806 |
| 0.3452 | 2.0 | 1070 | 0.5188 | 0.5047 |
| 0.2272 | 3.0 | 1605 | 0.6072 | 0.5179 |
| 0.1754 | 4.0 | 2140 | 0.8196 | 0.5143 |
| 0.1334 | 5.0 | 2675 | 0.8460 | 0.5377 |
Base model
distilbert/distilbert-base-uncased