nyu-mll/glue
Viewer • Updated • 1.49M • 447k • 525
How to use ThomasLI/distilbert-base-uncased-finetuned-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ThomasLI/distilbert-base-uncased-finetuned-cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ThomasLI/distilbert-base-uncased-finetuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("ThomasLI/distilbert-base-uncased-finetuned-cola", device_map="auto")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.5293 | 1.0 | 535 | 0.5075 | 0.4325 |
| 0.3471 | 2.0 | 1070 | 0.5048 | 0.5060 |
| 0.2349 | 3.0 | 1605 | 0.5762 | 0.4979 |
| 0.1829 | 4.0 | 2140 | 0.7848 | 0.5093 |
| 0.1343 | 5.0 | 2675 | 0.8586 | 0.5252 |