nyu-mll/glue
Viewer • Updated • 1.49M • 388k • 516
How to use Hartunka/tiny_bert_km_50_v2_mrpc with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/tiny_bert_km_50_v2_mrpc") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_km_50_v2_mrpc")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_km_50_v2_mrpc")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_km_50_v2_mrpc")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_km_50_v2_mrpc")This model is a fine-tuned version of Hartunka/tiny_bert_km_50_v2 on the GLUE MRPC 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 | Accuracy | F1 | Combined Score |
|---|---|---|---|---|---|---|
| 0.632 | 1.0 | 15 | 0.5975 | 0.7034 | 0.8169 | 0.7602 |
| 0.5917 | 2.0 | 30 | 0.5832 | 0.7132 | 0.8251 | 0.7692 |
| 0.5638 | 3.0 | 45 | 0.5895 | 0.7034 | 0.8180 | 0.7607 |
| 0.5417 | 4.0 | 60 | 0.5812 | 0.7181 | 0.8212 | 0.7696 |
| 0.5019 | 5.0 | 75 | 0.5993 | 0.7010 | 0.8039 | 0.7524 |
| 0.4343 | 6.0 | 90 | 0.6206 | 0.6789 | 0.7813 | 0.7301 |
| 0.3592 | 7.0 | 105 | 0.6731 | 0.7083 | 0.8007 | 0.7545 |
| 0.2533 | 8.0 | 120 | 0.7867 | 0.7010 | 0.8007 | 0.7508 |
| 0.1831 | 9.0 | 135 | 0.8555 | 0.7034 | 0.8 | 0.7517 |
Base model
Hartunka/tiny_bert_km_50_v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/tiny_bert_km_50_v2_mrpc")