nyu-mll/glue
Viewer โข Updated โข 1.49M โข 521k โข 808
How to use OmarAlsaabi/distilbert-base-uncased-finetuned-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="OmarAlsaabi/distilbert-base-uncased-finetuned-cola") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("OmarAlsaabi/distilbert-base-uncased-finetuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("OmarAlsaabi/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.5255 | 1.0 | 535 | 0.5243 | 0.4122 |
| 0.3496 | 2.0 | 1070 | 0.5007 | 0.5029 |
| 0.2339 | 3.0 | 1605 | 0.5811 | 0.5206 |
| 0.1826 | 4.0 | 2140 | 0.7680 | 0.5174 |
| 0.1346 | 5.0 | 2675 | 0.7983 | 0.5435 |