Instructions to use annasus10/xlmr-burmese-register with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use annasus10/xlmr-burmese-register with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="annasus10/xlmr-burmese-register")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("annasus10/xlmr-burmese-register") model = AutoModelForSequenceClassification.from_pretrained("annasus10/xlmr-burmese-register", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlmr-burmese-register
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.6690
- Accuracy: 0.7424
- Macro F1: 0.6766
- Weighted F1: 0.755
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: 16
- eval_batch_size: 32
- 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.3963 | 1.0 | 97 | 1.4392 | 0.6879 | 0.2193 | 0.5734 |
| 1.3941 | 2.0 | 194 | 1.2060 | 0.6485 | 0.4376 | 0.6465 |
| 1.1683 | 3.0 | 291 | 0.8163 | 0.5515 | 0.4933 | 0.5819 |
| 0.7409 | 4.0 | 388 | 0.7062 | 0.7061 | 0.634 | 0.7197 |
| 0.6485 | 5.0 | 485 | 0.7066 | 0.6879 | 0.6511 | 0.7059 |
| 0.6081 | 6.0 | 582 | 0.6886 | 0.7333 | 0.6837 | 0.7457 |
| 0.5466 | 7.0 | 679 | 0.6441 | 0.7152 | 0.6604 | 0.7311 |
| 0.4665 | 8.0 | 776 | 0.6690 | 0.7424 | 0.6766 | 0.755 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 7
Model tree for annasus10/xlmr-burmese-register
Base model
FacebookAI/xlm-roberta-base