Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use Inori612/FacebookAI__xlm-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Inori612/FacebookAI__xlm-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Inori612/FacebookAI__xlm-roberta-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Inori612/FacebookAI__xlm-roberta-base") model = AutoModelForSequenceClassification.from_pretrained("Inori612/FacebookAI__xlm-roberta-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
FacebookAI__xlm-roberta-base
This model is a fine-tuned version of FacebookAI/xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 2.1034
- Accuracy: 0.5987
- F1: 0.5973
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 64
- eval_batch_size: 64
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 5
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 1.7701 | 1.0 | 411 | 1.9056 | 0.5508 | 0.5460 |
| 1.5209 | 2.0 | 822 | 1.8322 | 0.5932 | 0.5910 |
| 1.3695 | 3.0 | 1233 | 1.9841 | 0.6040 | 0.6041 |
| 1.1506 | 4.0 | 1644 | 2.0545 | 0.6061 | 0.6055 |
| 1.0080 | 5.0 | 2055 | 2.1930 | 0.6043 | 0.6041 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.8.3
- Tokenizers 0.22.2
- Downloads last month
- 6
Model tree for Inori612/FacebookAI__xlm-roberta-base
Base model
FacebookAI/xlm-roberta-base