Instructions to use JuanC513/xlmroberta-ner-prostata-bs4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JuanC513/xlmroberta-ner-prostata-bs4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="JuanC513/xlmroberta-ner-prostata-bs4")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("JuanC513/xlmroberta-ner-prostata-bs4") model = AutoModelForTokenClassification.from_pretrained("JuanC513/xlmroberta-ner-prostata-bs4") - Notebooks
- Google Colab
- Kaggle
xlmroberta-ner-prostata-bs4
This model is a fine-tuned version of xlm-roberta-large on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0766
- F1: 0.9604
- Precision: 0.9554
- Recall: 0.9656
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: 1e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 16
- 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: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall |
|---|---|---|---|---|---|---|
| No log | 1.0 | 195 | 0.2301 | 0.8414 | 0.8069 | 0.8790 |
| No log | 2.0 | 390 | 0.0812 | 0.9298 | 0.9301 | 0.9294 |
| 1.1156 | 3.0 | 585 | 0.0649 | 0.9497 | 0.9519 | 0.9476 |
| 1.1156 | 4.0 | 780 | 0.0552 | 0.9654 | 0.9651 | 0.9657 |
| 1.1156 | 5.0 | 975 | 0.0482 | 0.9752 | 0.9711 | 0.9793 |
| 0.1507 | 6.0 | 1170 | 0.0542 | 0.9715 | 0.9709 | 0.9722 |
| 0.1507 | 7.0 | 1365 | 0.0508 | 0.9738 | 0.9741 | 0.9735 |
| 0.0840 | 8.0 | 1560 | 0.0478 | 0.9758 | 0.9730 | 0.9786 |
| 0.0840 | 9.0 | 1755 | 0.0499 | 0.9754 | 0.9754 | 0.9754 |
| 0.0840 | 10.0 | 1950 | 0.0477 | 0.9777 | 0.9761 | 0.9793 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- 15
Model tree for JuanC513/xlmroberta-ner-prostata-bs4
Base model
FacebookAI/xlm-roberta-large