facebook/xnli
Viewer • Updated • 6.4M • 21.6k • 72
How to use semindan/xnli_m_bert_only_hi with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="semindan/xnli_m_bert_only_hi") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("semindan/xnli_m_bert_only_hi")
model = AutoModelForSequenceClassification.from_pretrained("semindan/xnli_m_bert_only_hi")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.7554 | 1.0 | 3068 | 0.8254 | 0.6454 |
| 0.6896 | 2.0 | 6136 | 0.7786 | 0.6687 |
| 0.6214 | 3.0 | 9204 | 0.7973 | 0.6639 |
| 0.552 | 4.0 | 12272 | 0.7985 | 0.6751 |
| 0.4764 | 5.0 | 15340 | 0.9175 | 0.6759 |
| 0.4012 | 6.0 | 18408 | 1.0097 | 0.6558 |
| 0.329 | 7.0 | 21476 | 1.0889 | 0.6590 |
| 0.2646 | 8.0 | 24544 | 1.2490 | 0.6582 |
| 0.2157 | 9.0 | 27612 | 1.4154 | 0.6466 |
| 0.1761 | 10.0 | 30680 | 1.5129 | 0.6458 |