Instructions to use annasus10/xlmr-burmese-power-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use annasus10/xlmr-burmese-power-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="annasus10/xlmr-burmese-power-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("annasus10/xlmr-burmese-power-v2") model = AutoModelForSequenceClassification.from_pretrained("annasus10/xlmr-burmese-power-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlmr-burmese-power-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: 1.3711
- Accuracy: 0.7697
- Macro F1: 0.6054
- Weighted F1: 0.7687
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.3617 | 1.0 | 193 | 1.3204 | 0.2273 | 0.2474 | 0.2268 |
| 1.1894 | 2.0 | 386 | 1.1035 | 0.7364 | 0.3759 | 0.6763 |
| 0.9933 | 3.0 | 579 | 1.1862 | 0.7879 | 0.4881 | 0.7344 |
| 0.8096 | 4.0 | 772 | 0.8659 | 0.7364 | 0.575 | 0.7378 |
| 0.6446 | 5.0 | 965 | 1.2347 | 0.7667 | 0.5226 | 0.7387 |
| 0.5826 | 6.0 | 1158 | 1.0090 | 0.7727 | 0.6423 | 0.7778 |
| 0.4854 | 7.0 | 1351 | 1.1946 | 0.7606 | 0.6173 | 0.7657 |
| 0.3582 | 8.0 | 1544 | 1.3711 | 0.7697 | 0.6054 | 0.7687 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 4
Model tree for annasus10/xlmr-burmese-power-v2
Base model
FacebookAI/xlm-roberta-base