facebook/xnli
Viewer • Updated • 6.4M • 35.3k • 71
How to use gayanin/bert-xnli-es-classifier with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gayanin/bert-xnli-es-classifier") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gayanin/bert-xnli-es-classifier")
model = AutoModelForSequenceClassification.from_pretrained("gayanin/bert-xnli-es-classifier")This model is a fine-tuned version of dccuchile/bert-base-spanish-wwm-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.4401 | 1.0 | 6136 | 0.4733 | 0.8116 |
| 0.4245 | 2.0 | 12272 | 0.4667 | 0.8309 |
| 0.29 | 3.0 | 18408 | 0.5109 | 0.8277 |