facebook/xnli
Viewer • Updated • 6.4M • 21.8k • 72
How to use semindan/xnli_m_bert_only_vi with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="semindan/xnli_m_bert_only_vi") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("semindan/xnli_m_bert_only_vi")
model = AutoModelForSequenceClassification.from_pretrained("semindan/xnli_m_bert_only_vi")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.6634 | 1.0 | 3068 | 0.7030 | 0.7016 |
| 0.5848 | 2.0 | 6136 | 0.6031 | 0.7518 |
| 0.5003 | 3.0 | 9204 | 0.6296 | 0.7418 |
| 0.4159 | 4.0 | 12272 | 0.6398 | 0.7482 |
| 0.3395 | 5.0 | 15340 | 0.7042 | 0.7438 |
| 0.2648 | 6.0 | 18408 | 0.9274 | 0.7345 |
| 0.2062 | 7.0 | 21476 | 0.9433 | 0.7373 |
| 0.1544 | 8.0 | 24544 | 1.0372 | 0.7378 |
| 0.1164 | 9.0 | 27612 | 1.1879 | 0.7357 |
| 0.0882 | 10.0 | 30680 | 1.2539 | 0.7402 |