nyu-mll/glue
Viewer • Updated • 1.49M • 472k • 497
How to use Hartunka/tiny_bert_rand_5_v2_qnli with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/tiny_bert_rand_5_v2_qnli") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_rand_5_v2_qnli")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_rand_5_v2_qnli")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_rand_5_v2_qnli")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_rand_5_v2_qnli")This model is a fine-tuned version of Hartunka/tiny_bert_rand_5_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.6655 | 1.0 | 410 | 0.6482 | 0.6207 |
| 0.636 | 2.0 | 820 | 0.6468 | 0.6268 |
| 0.5935 | 3.0 | 1230 | 0.6598 | 0.6231 |
| 0.5345 | 4.0 | 1640 | 0.6996 | 0.6246 |
| 0.4697 | 5.0 | 2050 | 0.7827 | 0.6143 |
| 0.4077 | 6.0 | 2460 | 0.8890 | 0.6041 |
| 0.3487 | 7.0 | 2870 | 1.0397 | 0.6042 |
Base model
Hartunka/tiny_bert_rand_5_v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/tiny_bert_rand_5_v2_qnli")