nyu-mll/glue
Viewer • Updated • 1.49M • 481k • 501
How to use Hartunka/tiny_bert_km_20_v2_qnli with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/tiny_bert_km_20_v2_qnli") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_km_20_v2_qnli")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_km_20_v2_qnli")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_km_20_v2_qnli")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_km_20_v2_qnli")This model is a fine-tuned version of Hartunka/tiny_bert_km_20_v2 on the GLUE QNLI 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 |
|---|---|---|---|---|
| 0.6674 | 1.0 | 410 | 0.6506 | 0.6101 |
| 0.6407 | 2.0 | 820 | 0.6511 | 0.6229 |
| 0.5998 | 3.0 | 1230 | 0.6494 | 0.6279 |
| 0.5319 | 4.0 | 1640 | 0.7139 | 0.6154 |
| 0.4555 | 5.0 | 2050 | 0.7635 | 0.6118 |
| 0.3843 | 6.0 | 2460 | 0.9000 | 0.6072 |
| 0.3163 | 7.0 | 2870 | 1.0751 | 0.6050 |
| 0.2599 | 8.0 | 3280 | 1.1298 | 0.6077 |
Base model
Hartunka/tiny_bert_km_20_v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/tiny_bert_km_20_v2_qnli")