Instructions to use annasus10/xlmr-burmese-pragmatics-stage1-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use annasus10/xlmr-burmese-pragmatics-stage1-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="annasus10/xlmr-burmese-pragmatics-stage1-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("annasus10/xlmr-burmese-pragmatics-stage1-v2") model = AutoModelForSequenceClassification.from_pretrained("annasus10/xlmr-burmese-pragmatics-stage1-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlmr-burmese-pragmatics-stage1-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.0429
- Accuracy: 0.7152
- Macro F1: 0.649
- Weighted F1: 0.7207
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.7464 | 1.0 | 193 | 1.8108 | 0.3 | 0.1578 | 0.2628 |
| 1.5995 | 2.0 | 386 | 1.2931 | 0.5788 | 0.439 | 0.594 |
| 1.2811 | 3.0 | 579 | 1.1692 | 0.6667 | 0.556 | 0.6647 |
| 0.9879 | 4.0 | 772 | 1.0974 | 0.6727 | 0.528 | 0.6857 |
| 0.8915 | 5.0 | 965 | 1.0465 | 0.6909 | 0.6079 | 0.6972 |
| 0.7993 | 6.0 | 1158 | 0.9907 | 0.7212 | 0.6096 | 0.7227 |
| 0.6428 | 7.0 | 1351 | 1.0333 | 0.7364 | 0.6651 | 0.7429 |
| 0.6239 | 8.0 | 1544 | 1.0429 | 0.7152 | 0.649 | 0.7207 |
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-stage1-v2
Base model
FacebookAI/xlm-roberta-base