Instructions to use arthurtechia/xlmr_prostata_bs32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arthurtechia/xlmr_prostata_bs32 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="arthurtechia/xlmr_prostata_bs32")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("arthurtechia/xlmr_prostata_bs32") model = AutoModelForTokenClassification.from_pretrained("arthurtechia/xlmr_prostata_bs32", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlmr_prostata_bs32
This model is a fine-tuned version of xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0314
- Precision: 0.9508
- Recall: 0.9629
- F1: 0.9568
- Accuracy: 0.9924
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: 32
- 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
- num_epochs: 8
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 98 | 0.2784 | 0.5921 | 0.6052 | 0.5986 | 0.9309 |
| No log | 2.0 | 196 | 0.0911 | 0.8507 | 0.8684 | 0.8594 | 0.9779 |
| No log | 3.0 | 294 | 0.0473 | 0.9260 | 0.9375 | 0.9317 | 0.9902 |
| No log | 4.0 | 392 | 0.0350 | 0.9323 | 0.9603 | 0.9461 | 0.9915 |
| No log | 5.0 | 490 | 0.0269 | 0.9509 | 0.9707 | 0.9607 | 0.9936 |
| 0.2895 | 6.0 | 588 | 0.0226 | 0.9630 | 0.9668 | 0.9649 | 0.9943 |
| 0.2895 | 7.0 | 686 | 0.0204 | 0.9669 | 0.9707 | 0.9688 | 0.9952 |
| 0.2895 | 8.0 | 784 | 0.0205 | 0.9676 | 0.9720 | 0.9698 | 0.9954 |
Framework versions
- Transformers 5.10.2
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 6
Model tree for arthurtechia/xlmr_prostata_bs32
Base model
FacebookAI/xlm-roberta-base