Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use zypchn/SQE-xlm-roberta-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zypchn/SQE-xlm-roberta-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="zypchn/SQE-xlm-roberta-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("zypchn/SQE-xlm-roberta-large") model = AutoModelForSequenceClassification.from_pretrained("zypchn/SQE-xlm-roberta-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
results
This model is a fine-tuned version of FacebookAI/xlm-roberta-large on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.4465
- Accuracy: 0.8157
- Precision: 0.7635
- Recall: 0.7445
- F1: 0.7539
- Roc Auc: 0.8857
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: 5e-06
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH 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: 500
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Roc Auc |
|---|---|---|---|---|---|---|---|---|
| 0.6530 | 0.3236 | 500 | 0.6295 | 0.6300 | 0.5086 | 0.7080 | 0.5920 | 0.7135 |
| 0.5659 | 0.6472 | 1000 | 0.5391 | 0.7276 | 0.7120 | 0.4726 | 0.5681 | 0.7889 |
| 0.5274 | 0.9709 | 1500 | 0.5351 | 0.7407 | 0.7719 | 0.4486 | 0.5674 | 0.8241 |
| 0.4663 | 1.2945 | 2000 | 0.5026 | 0.7702 | 0.7676 | 0.5648 | 0.6508 | 0.8451 |
| 0.4405 | 1.6181 | 2500 | 0.4836 | 0.7840 | 0.6993 | 0.7550 | 0.7261 | 0.8583 |
| 0.4387 | 1.9417 | 3000 | 0.4345 | 0.8037 | 0.7546 | 0.7147 | 0.7341 | 0.8720 |
| 0.3571 | 2.2654 | 3500 | 0.4615 | 0.8088 | 0.7745 | 0.6993 | 0.7350 | 0.8772 |
| 0.3407 | 2.5890 | 4000 | 0.4497 | 0.8150 | 0.7938 | 0.6916 | 0.7392 | 0.8816 |
| 0.3322 | 2.9126 | 4500 | 0.4459 | 0.8157 | 0.7749 | 0.7243 | 0.7488 | 0.8852 |
| 0.3322 | 3.0 | 4635 | 0.4465 | 0.8157 | 0.7635 | 0.7445 | 0.7539 | 0.8857 |
Framework versions
- Transformers 5.18.0
- Pytorch 2.11.0+cu130
- Datasets 4.8.5
- Tokenizers 0.23.2
- Downloads last month
- 10
Model tree for zypchn/SQE-xlm-roberta-large
Base model
FacebookAI/xlm-roberta-large