Instructions to use MayorChris/xlm_r-prostata-bs8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MayorChris/xlm_r-prostata-bs8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="MayorChris/xlm_r-prostata-bs8")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("MayorChris/xlm_r-prostata-bs8") model = AutoModelForTokenClassification.from_pretrained("MayorChris/xlm_r-prostata-bs8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlm_r-prostata-bs8
This model is a fine-tuned version of FacebookAI/xlm-roberta-large on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0197
- Precision: 0.9851
- Recall: 0.9871
- F1: 0.9861
- Accuracy: 0.9971
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: 8
- 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
- num_epochs: 8
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.0242 | 1.0 | 389 | 0.0238 | 0.9741 | 0.9748 | 0.9744 | 0.9949 |
| 0.0252 | 2.0 | 778 | 0.0214 | 0.9812 | 0.9773 | 0.9792 | 0.9960 |
| 0.0192 | 3.0 | 1167 | 0.0202 | 0.9799 | 0.9793 | 0.9796 | 0.9965 |
| 0.0144 | 4.0 | 1556 | 0.0262 | 0.9806 | 0.9832 | 0.9819 | 0.9964 |
| 0.0087 | 5.0 | 1945 | 0.0209 | 0.9812 | 0.9819 | 0.9816 | 0.9966 |
| 0.0114 | 6.0 | 2334 | 0.0205 | 0.9825 | 0.9838 | 0.9832 | 0.9968 |
| 0.0072 | 7.0 | 2723 | 0.0188 | 0.9851 | 0.9864 | 0.9858 | 0.9973 |
| 0.0053 | 8.0 | 3112 | 0.0197 | 0.9851 | 0.9871 | 0.9861 | 0.9971 |
Framework versions
- Transformers 5.20.2
- Pytorch 2.11.0+cu130
- Datasets 4.8.5
- Tokenizers 0.23.3
- Downloads last month
- 23
Model tree for MayorChris/xlm_r-prostata-bs8
Base model
FacebookAI/xlm-roberta-large