Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use Shijia/xlmroberta_clir_all_eng with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Shijia/xlmroberta_clir_all_eng with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Shijia/xlmroberta_clir_all_eng")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Shijia/xlmroberta_clir_all_eng") model = AutoModelForSequenceClassification.from_pretrained("Shijia/xlmroberta_clir_all_eng", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlmroberta_clir_all_eng
This model is a fine-tuned version of xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0102
- Spearman Corr: 0.9163
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: 128
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 64
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Spearman Corr |
|---|---|---|---|---|
| No log | 1.0 | 206 | 0.0233 | 0.7585 |
| 0.043 | 2.0 | 413 | 0.0202 | 0.8211 |
| 0.043 | 3.0 | 619 | 0.0159 | 0.8471 |
| 0.0183 | 4.0 | 826 | 0.0134 | 0.8817 |
| 0.0183 | 5.0 | 1032 | 0.0111 | 0.8974 |
| 0.0114 | 6.0 | 1239 | 0.0118 | 0.9085 |
| 0.0114 | 7.0 | 1445 | 0.0096 | 0.9121 |
| 0.0081 | 8.0 | 1652 | 0.0105 | 0.9161 |
| 0.0081 | 9.0 | 1858 | 0.0097 | 0.9148 |
| 0.0067 | 9.98 | 2060 | 0.0102 | 0.9163 |
Framework versions
- Transformers 4.36.2
- Pytorch 2.1.0+cu121
- Datasets 2.16.1
- Tokenizers 0.15.0
- Downloads last month
- 6
Model tree for Shijia/xlmroberta_clir_all_eng
Base model
FacebookAI/xlm-roberta-base