Instructions to use annasus10/xlmr-burmese-pragmatics-stage3-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use annasus10/xlmr-burmese-pragmatics-stage3-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="annasus10/xlmr-burmese-pragmatics-stage3-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("annasus10/xlmr-burmese-pragmatics-stage3-v2") model = AutoModelForSequenceClassification.from_pretrained("annasus10/xlmr-burmese-pragmatics-stage3-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlmr-burmese-pragmatics-stage3-v2
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: 0.8899
- Accuracy: 0.8333
- Macro F1: 0.7027
- Weighted F1: 0.8381
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: 16
- 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
- lr_scheduler_warmup_steps: 150
- num_epochs: 8
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Macro F1 | Weighted F1 |
|---|---|---|---|---|---|---|
| 1.7730 | 1.0 | 193 | 1.7775 | 0.6242 | 0.2258 | 0.5526 |
| 1.2832 | 2.0 | 386 | 1.1310 | 0.7182 | 0.5078 | 0.7103 |
| 1.0364 | 3.0 | 579 | 0.8726 | 0.7697 | 0.6599 | 0.7747 |
| 0.7143 | 4.0 | 772 | 0.8269 | 0.7848 | 0.6625 | 0.7935 |
| 0.5696 | 5.0 | 965 | 0.8653 | 0.8121 | 0.6943 | 0.8151 |
| 0.4301 | 6.0 | 1158 | 0.9253 | 0.8515 | 0.7184 | 0.8537 |
| 0.3271 | 7.0 | 1351 | 0.9202 | 0.8424 | 0.7189 | 0.845 |
| 0.3855 | 8.0 | 1544 | 0.8899 | 0.8333 | 0.7027 | 0.8381 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 5
Model tree for annasus10/xlmr-burmese-pragmatics-stage3-v2
Base model
FacebookAI/xlm-roberta-base