nyu-mll/glue
Viewer • Updated • 1.49M • 488k • 503
How to use Hartunka/tiny_bert_km_5_v1_qnli with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/tiny_bert_km_5_v1_qnli") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_km_5_v1_qnli")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_km_5_v1_qnli")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_km_5_v1_qnli")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_km_5_v1_qnli")This model is a fine-tuned version of Hartunka/tiny_bert_km_5_v1 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.6651 | 1.0 | 410 | 0.6433 | 0.6187 |
| 0.63 | 2.0 | 820 | 0.6245 | 0.6427 |
| 0.5711 | 3.0 | 1230 | 0.5835 | 0.6994 |
| 0.4752 | 4.0 | 1640 | 0.5910 | 0.7082 |
| 0.3883 | 5.0 | 2050 | 0.6259 | 0.7130 |
| 0.3147 | 6.0 | 2460 | 0.6885 | 0.7068 |
| 0.2538 | 7.0 | 2870 | 0.8067 | 0.6972 |
| 0.2075 | 8.0 | 3280 | 0.8747 | 0.6996 |
Base model
Hartunka/tiny_bert_km_5_v1
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/tiny_bert_km_5_v1_qnli")