nyu-mll/glue
Viewer โข Updated โข 1.49M โข 592k โข 785
How to use lunawxia/distilbert-base-uncased-finetuned-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="lunawxia/distilbert-base-uncased-finetuned-cola") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("lunawxia/distilbert-base-uncased-finetuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("lunawxia/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.5238 | 1.0 | 535 | 0.5287 | 0.3943 |
| 0.3462 | 2.0 | 1070 | 0.4960 | 0.4998 |
| 0.2323 | 3.0 | 1605 | 0.5847 | 0.5016 |
| 0.1788 | 4.0 | 2140 | 0.7807 | 0.5282 |
| 0.1282 | 5.0 | 2675 | 0.8221 | 0.5328 |