nyu-mll/glue
Viewer • Updated • 1.49M • 466k • 496
How to use Hartunka/tiny_bert_km_20_v1_cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/tiny_bert_km_20_v1_cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_km_20_v1_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_km_20_v1_cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_km_20_v1_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_km_20_v1_cola")This model is a fine-tuned version of Hartunka/tiny_bert_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.6189 | 1.0 | 34 | 0.6210 | 0.0 | 0.6913 |
| 0.6054 | 2.0 | 68 | 0.6222 | 0.0 | 0.6913 |
| 0.5963 | 3.0 | 102 | 0.6258 | -0.0293 | 0.6894 |
| 0.5762 | 4.0 | 136 | 0.6421 | 0.0071 | 0.6587 |
| 0.5409 | 5.0 | 170 | 0.6646 | 0.0571 | 0.6807 |
| 0.4934 | 6.0 | 204 | 0.7105 | 0.0380 | 0.6453 |
Base model
Hartunka/tiny_bert_km_20_v1
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/tiny_bert_km_20_v1_cola")