nyu-mll/glue
Viewer • Updated • 1.49M • 456k • 505
How to use tianyisun/distilbert-base-uncased-finetuned-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="tianyisun/distilbert-base-uncased-finetuned-cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("tianyisun/distilbert-base-uncased-finetuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("tianyisun/distilbert-base-uncased-finetuned-cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("tianyisun/distilbert-base-uncased-finetuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("tianyisun/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
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Matthews Correlation |
|---|---|---|---|---|
| 0.5249 | 1.0 | 535 | 0.4499 | 0.5117 |
| 0.3431 | 2.0 | 1070 | 0.4726 | 0.5515 |
| 0.2262 | 3.0 | 1605 | 0.6070 | 0.5330 |
| 0.1632 | 4.0 | 2140 | 0.7148 | 0.5556 |
| 0.1318 | 5.0 | 2675 | 0.8231 | 0.5640 |
Base model
distilbert/distilbert-base-uncased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tianyisun/distilbert-base-uncased-finetuned-cola")