Text Classification
Transformers
TensorBoard
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use DerivedFunction1/xlm-roberta-raw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DerivedFunction1/xlm-roberta-raw with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="DerivedFunction1/xlm-roberta-raw")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("DerivedFunction1/xlm-roberta-raw") model = AutoModelForSequenceClassification.from_pretrained("DerivedFunction1/xlm-roberta-raw") - Notebooks
- Google Colab
- Kaggle
xlm-roberta-raw
This model is a fine-tuned version of emotions-entailment/xlm-roberta-mt on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.2877
- F1 Micro: 0.8200
- F1 Macro: 0.6834
- Precision Micro: 0.8379
- Recall Micro: 0.8028
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: 1e-06
- train_batch_size: 12
- eval_batch_size: 12
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 24
- 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
- lr_scheduler_warmup_steps: 1462
- num_epochs: 2
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 Micro | F1 Macro | Precision Micro | Recall Micro |
|---|---|---|---|---|---|---|---|
| 0.5893 | 1.0 | 7314 | 0.2900 | 0.8075 | 0.6927 | 0.8214 | 0.7941 |
| 0.5735 | 2.0 | 14628 | 0.2898 | 0.8087 | 0.6961 | 0.8356 | 0.7835 |
Framework versions
- Transformers 5.10.2
- Pytorch 2.11.0+cu128
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- -
Model tree for DerivedFunction1/xlm-roberta-raw
Base model
FacebookAI/xlm-roberta-base Finetuned
emotions-entailment/xlm-roberta-mt