facebook/xnli
Viewer • Updated • 6.4M • 21.7k • 72
How to use semindan/xnli_m_bert_only_ur with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="semindan/xnli_m_bert_only_ur") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("semindan/xnli_m_bert_only_ur")
model = AutoModelForSequenceClassification.from_pretrained("semindan/xnli_m_bert_only_ur")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.9871 | 1.0 | 3068 | 0.8845 | 0.6020 |
| 0.9674 | 2.0 | 6136 | 0.8676 | 0.6108 |
| 0.9403 | 3.0 | 9204 | 0.8579 | 0.6133 |
| 0.9051 | 4.0 | 12272 | 0.8552 | 0.6133 |
| 0.863 | 5.0 | 15340 | 0.9036 | 0.6048 |
| 0.8076 | 6.0 | 18408 | 0.9293 | 0.6080 |
| 0.7507 | 7.0 | 21476 | 1.0157 | 0.5956 |
| 0.688 | 8.0 | 24544 | 1.1174 | 0.5855 |
| 0.6386 | 9.0 | 27612 | 1.2505 | 0.5855 |
| 0.5943 | 10.0 | 30680 | 1.3170 | 0.5835 |