nyu-mll/glue
Viewer • Updated • 1.49M • 481k • 501
How to use Hartunka/bert_base_km_20_v1_cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/bert_base_km_20_v1_cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_km_20_v1_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_km_20_v1_cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_km_20_v1_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_km_20_v1_cola")This model is a fine-tuned version of Hartunka/bert_base_km_20_v1 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.6182 | 1.0 | 34 | 0.6226 | 0.0 | 0.6913 |
| 0.591 | 2.0 | 68 | 0.6297 | 0.0766 | 0.6894 |
| 0.5432 | 3.0 | 102 | 0.6300 | 0.0809 | 0.6798 |
| 0.4606 | 4.0 | 136 | 0.6927 | 0.1498 | 0.6520 |
| 0.3815 | 5.0 | 170 | 0.7554 | 0.0919 | 0.6568 |
| 0.3147 | 6.0 | 204 | 0.8696 | 0.0963 | 0.6366 |
Base model
Hartunka/bert_base_km_20_v1
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_km_20_v1_cola")