facebook/xnli
Viewer • Updated • 6.4M • 21.8k • 72
How to use semindan/xnli_m_bert_only_el with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="semindan/xnli_m_bert_only_el") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("semindan/xnli_m_bert_only_el")
model = AutoModelForSequenceClassification.from_pretrained("semindan/xnli_m_bert_only_el")This model is a fine-tuned version of bert-base-multilingual-cased on the xnli 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.6802 | 1.0 | 3068 | 0.7046 | 0.6968 |
| 0.6029 | 2.0 | 6136 | 0.6539 | 0.7317 |
| 0.5235 | 3.0 | 9204 | 0.6539 | 0.7281 |
| 0.4465 | 4.0 | 12272 | 0.6684 | 0.7353 |
| 0.3713 | 5.0 | 15340 | 0.7089 | 0.7470 |
| 0.2982 | 6.0 | 18408 | 0.8163 | 0.7406 |
| 0.2334 | 7.0 | 21476 | 0.8506 | 0.7478 |
| 0.1798 | 8.0 | 24544 | 0.9669 | 0.7434 |
| 0.1377 | 9.0 | 27612 | 1.1195 | 0.7446 |
| 0.1053 | 10.0 | 30680 | 1.2248 | 0.7434 |