Instructions to use annasus10/xlmr-burmese-tone-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use annasus10/xlmr-burmese-tone-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="annasus10/xlmr-burmese-tone-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("annasus10/xlmr-burmese-tone-v2") model = AutoModelForSequenceClassification.from_pretrained("annasus10/xlmr-burmese-tone-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlmr-burmese-tone-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.1566
- Accuracy: 0.6727
- Macro F1: 0.5829
- Weighted F1: 0.6774
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.6349 | 1.0 | 193 | 1.5901 | 0.2727 | 0.1603 | 0.2198 |
| 1.4933 | 2.0 | 386 | 1.3045 | 0.5788 | 0.4494 | 0.5659 |
| 1.2225 | 3.0 | 579 | 1.1228 | 0.5909 | 0.5088 | 0.6012 |
| 1.0255 | 4.0 | 772 | 1.1190 | 0.5788 | 0.507 | 0.6015 |
| 0.8645 | 5.0 | 965 | 1.1259 | 0.6606 | 0.5749 | 0.6542 |
| 0.7592 | 6.0 | 1158 | 1.1002 | 0.6545 | 0.5923 | 0.6541 |
| 0.6306 | 7.0 | 1351 | 1.1541 | 0.6667 | 0.5771 | 0.6718 |
| 0.5370 | 8.0 | 1544 | 1.1566 | 0.6727 | 0.5829 | 0.6774 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 6
Model tree for annasus10/xlmr-burmese-tone-v2
Base model
FacebookAI/xlm-roberta-base