facebook/xnli
Viewer • Updated • 6.4M • 21.8k • 72
How to use semindan/xnli_m_bert_only_ru with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="semindan/xnli_m_bert_only_ru") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("semindan/xnli_m_bert_only_ru")
model = AutoModelForSequenceClassification.from_pretrained("semindan/xnli_m_bert_only_ru")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.6663 | 1.0 | 3068 | 0.7367 | 0.6908 |
| 0.5792 | 2.0 | 6136 | 0.6650 | 0.7229 |
| 0.4875 | 3.0 | 9204 | 0.6935 | 0.7285 |
| 0.3989 | 4.0 | 12272 | 0.7481 | 0.7233 |
| 0.3177 | 5.0 | 15340 | 0.7786 | 0.7277 |
| 0.2429 | 6.0 | 18408 | 0.9419 | 0.7209 |
| 0.1871 | 7.0 | 21476 | 1.0537 | 0.7237 |
| 0.1388 | 8.0 | 24544 | 1.1777 | 0.7225 |
| 0.106 | 9.0 | 27612 | 1.3488 | 0.7209 |
| 0.0776 | 10.0 | 30680 | 1.4375 | 0.7193 |