Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use n1kg0r/xlmr_classification_ce with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use n1kg0r/xlmr_classification_ce with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="n1kg0r/xlmr_classification_ce")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("n1kg0r/xlmr_classification_ce") model = AutoModelForSequenceClassification.from_pretrained("n1kg0r/xlmr_classification_ce", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlmr_classification_ce
This model is a fine-tuned version of xlm-roberta-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.2117
- Accuracy: 0.5088
- Macro F1: 0.3365
- Micro F1: 0.5088
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: 8
- eval_batch_size: 8
- 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: 6
Training results
| Training Loss | Epoch | Step | Accuracy | Validation Loss | Macro F1 | Micro F1 |
|---|---|---|---|---|---|---|
| 1.7856 | 1.0 | 114 | 0.3202 | 1.6103 | 0.0627 | 0.3202 |
| 1.4494 | 2.0 | 228 | 0.4781 | 1.2965 | 0.2478 | 0.4781 |
| 1.1616 | 3.0 | 342 | 0.4781 | 1.3249 | 0.3285 | 0.4781 |
| 0.9706 | 4.0 | 456 | 0.5263 | 1.1481 | 0.3348 | 0.5263 |
| 0.8474 | 5.0 | 570 | 0.4956 | 1.2018 | 0.3227 | 0.4956 |
| 0.827 | 6.0 | 684 | 1.2117 | 0.5088 | 0.3365 | 0.5088 |
Framework versions
- Transformers 4.57.3
- Pytorch 2.9.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.1
- Downloads last month
- 5
Model tree for n1kg0r/xlmr_classification_ce
Base model
FacebookAI/xlm-roberta-base