Text Classification
Transformers
PyTorch
Safetensors
Spanish
roberta
spanish
xnli
text-embeddings-inference
Instructions to use bertin-project/bertin-base-xnli-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bertin-project/bertin-base-xnli-es with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="bertin-project/bertin-base-xnli-es")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("bertin-project/bertin-base-xnli-es") model = AutoModelForSequenceClassification.from_pretrained("bertin-project/bertin-base-xnli-es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 5.0, | |
| "train_loss": 0.5170908811661225, | |
| "train_runtime": 67360.5161, | |
| "train_samples": 392702, | |
| "train_samples_per_second": 29.149, | |
| "train_steps_per_second": 1.822 | |
| } |