nyu-mll/glue
Viewer • Updated • 1.49M • 466k • 496
How to use Hartunka/bert_base_km_5_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_5_v2_cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_km_5_v2_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_km_5_v2_cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_km_5_v2_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_km_5_v2_cola")This model is a fine-tuned version of Hartunka/bert_base_km_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.6153 | 1.0 | 34 | 0.6196 | 0.0 | 0.6913 |
| 0.5911 | 2.0 | 68 | 0.6109 | 0.0064 | 0.6865 |
| 0.5354 | 3.0 | 102 | 0.6187 | 0.0696 | 0.6817 |
| 0.4723 | 4.0 | 136 | 0.6894 | 0.0819 | 0.6587 |
| 0.4026 | 5.0 | 170 | 0.7198 | 0.1243 | 0.6577 |
| 0.3374 | 6.0 | 204 | 0.7933 | 0.1073 | 0.6347 |
| 0.2903 | 7.0 | 238 | 0.9325 | 0.0947 | 0.6366 |
Base model
Hartunka/bert_base_km_5_v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_km_5_v2_cola")