Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use Inori612/Sleep_NEW_xlm-roberta-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Inori612/Sleep_NEW_xlm-roberta-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Inori612/Sleep_NEW_xlm-roberta-large")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Inori612/Sleep_NEW_xlm-roberta-large") model = AutoModelForSequenceClassification.from_pretrained("Inori612/Sleep_NEW_xlm-roberta-large") - Notebooks
- Google Colab
- Kaggle
Sleep_NEW_xlm-roberta-large
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: 5.5173
- Accuracy: 0.6783
- F1: 0.6784
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: 32
- eval_batch_size: 32
- 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: cosine
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 1.4689 | 1.0 | 822 | 1.9415 | 0.6058 | 0.6051 |
| 1.1999 | 2.0 | 1644 | 1.7062 | 0.6584 | 0.6575 |
| 0.9192 | 3.0 | 2466 | 1.7341 | 0.6725 | 0.6724 |
| 0.7188 | 4.0 | 3288 | 2.0076 | 0.6793 | 0.6793 |
| 0.4309 | 5.0 | 4110 | 2.5662 | 0.6805 | 0.6805 |
| 0.2596 | 6.0 | 4932 | 3.2284 | 0.6826 | 0.6827 |
| 0.1609 | 7.0 | 5754 | 4.2233 | 0.6882 | 0.6883 |
| 0.1436 | 8.0 | 6576 | 4.9898 | 0.6891 | 0.6892 |
| 0.0947 | 9.0 | 7398 | 5.1743 | 0.6980 | 0.6982 |
| 0.0757 | 10.0 | 8220 | 5.2247 | 0.6977 | 0.6979 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.8.3
- Tokenizers 0.22.2
- Downloads last month
- 12
Model tree for Inori612/Sleep_NEW_xlm-roberta-large
Base model
FacebookAI/xlm-roberta-large