nyu-mll/glue
Viewer • Updated • 1.49M • 476k • 498
How to use Hartunka/bert_base_km_50_v2_cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/bert_base_km_50_v2_cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_km_50_v2_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_km_50_v2_cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_km_50_v2_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_km_50_v2_cola")This model is a fine-tuned version of Hartunka/bert_base_km_50_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.6192 | 1.0 | 34 | 0.6239 | 0.0 | 0.6913 |
| 0.5975 | 2.0 | 68 | 0.6265 | 0.0 | 0.6913 |
| 0.5691 | 3.0 | 102 | 0.6327 | 0.0281 | 0.6779 |
| 0.5163 | 4.0 | 136 | 0.6774 | 0.1203 | 0.6884 |
| 0.4419 | 5.0 | 170 | 0.7084 | 0.0984 | 0.6558 |
| 0.3664 | 6.0 | 204 | 0.8184 | 0.0472 | 0.6117 |
Base model
Hartunka/bert_base_km_50_v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_km_50_v2_cola")