Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use usyk/roberta_sharetask-finetuned_on_codemixed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use usyk/roberta_sharetask-finetuned_on_codemixed with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="usyk/roberta_sharetask-finetuned_on_codemixed")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("usyk/roberta_sharetask-finetuned_on_codemixed") model = AutoModelForSequenceClassification.from_pretrained("usyk/roberta_sharetask-finetuned_on_codemixed", device_map="auto") - Notebooks
- Google Colab
- Kaggle
roberta_sharetask-finetuned_on_codemixed
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.6871
- F1: 0.5362
- Precision: 0.5533
- Recall: 0.5554
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-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall |
|---|---|---|---|---|---|---|
| 0.7005 | 1.0 | 173 | 0.6933 | 0.2773 | 0.1919 | 0.5 |
| 0.6977 | 2.0 | 346 | 0.6933 | 0.3813 | 0.3081 | 0.5 |
| 0.7042 | 3.0 | 519 | 0.6871 | 0.5362 | 0.5533 | 0.5554 |
| 0.6959 | 4.0 | 692 | 0.6933 | 0.4990 | 0.5355 | 0.5345 |
| 0.6861 | 5.0 | 865 | 0.6828 | 0.4914 | 0.5789 | 0.5624 |
| 0.6868 | 6.0 | 1038 | 0.6820 | 0.4907 | 0.5816 | 0.5636 |
| 0.7039 | 7.0 | 1211 | 0.6863 | 0.4931 | 0.5725 | 0.5592 |
| 0.6772 | 8.0 | 1384 | 0.6879 | 0.4882 | 0.5519 | 0.5449 |
| 0.6854 | 9.0 | 1557 | 0.6891 | 0.4962 | 0.5450 | 0.5416 |
| 0.6804 | 10.0 | 1730 | 0.6900 | 0.4938 | 0.5412 | 0.5382 |
Framework versions
- Transformers 4.47.0
- Pytorch 2.5.1+cu121
- Datasets 3.3.1
- Tokenizers 0.21.0
- Downloads last month
- 19
Model tree for usyk/roberta_sharetask-finetuned_on_codemixed
Base model
FacebookAI/xlm-roberta-base