nyu-mll/glue
Viewer • Updated • 1.49M • 477k • 504
How to use Hartunka/distilbert_rand_5_v2_cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/distilbert_rand_5_v2_cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/distilbert_rand_5_v2_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/distilbert_rand_5_v2_cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/distilbert_rand_5_v2_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/distilbert_rand_5_v2_cola")This model is a fine-tuned version of Hartunka/distilbert_rand_5_v2 on the GLUE COLA 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 | Accuracy |
|---|---|---|---|---|---|
| 0.6165 | 1.0 | 34 | 0.6147 | 0.0 | 0.6913 |
| 0.5903 | 2.0 | 68 | 0.6255 | 0.0635 | 0.6913 |
| 0.5486 | 3.0 | 102 | 0.6168 | 0.0932 | 0.6865 |
| 0.5 | 4.0 | 136 | 0.6945 | 0.1092 | 0.6692 |
| 0.4462 | 5.0 | 170 | 0.6997 | 0.1198 | 0.6769 |
| 0.3988 | 6.0 | 204 | 0.7783 | 0.0704 | 0.6270 |
Base model
Hartunka/distilbert_rand_5_v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/distilbert_rand_5_v2_cola")