Instructions to use JuanC513/xlmroberta-ner-prostata-bs8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JuanC513/xlmroberta-ner-prostata-bs8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="JuanC513/xlmroberta-ner-prostata-bs8")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("JuanC513/xlmroberta-ner-prostata-bs8") model = AutoModelForTokenClassification.from_pretrained("JuanC513/xlmroberta-ner-prostata-bs8") - Notebooks
- Google Colab
- Kaggle
xlmroberta-ner-prostata-bs8
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.0416
- F1: 0.9621
- Precision: 0.9597
- Recall: 0.9645
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: 1
- eval_batch_size: 1
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 8
- 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 | 389 | 0.0745 | 0.8854 | 0.8854 | 0.8854 |
| 2.9343 | 2.0 | 778 | 0.0384 | 0.9247 | 0.9077 | 0.9424 |
| 0.5057 | 3.0 | 1167 | 0.0366 | 0.9619 | 0.9679 | 0.9560 |
| 0.3465 | 4.0 | 1556 | 0.0303 | 0.9667 | 0.9652 | 0.9683 |
| 0.3465 | 5.0 | 1945 | 0.0318 | 0.9677 | 0.9670 | 0.9683 |
| 0.2548 | 6.0 | 2334 | 0.0349 | 0.9683 | 0.9683 | 0.9683 |
| 0.2191 | 7.0 | 2723 | 0.0301 | 0.9712 | 0.9715 | 0.9709 |
| 0.2018 | 8.0 | 3112 | 0.0303 | 0.9732 | 0.9722 | 0.9741 |
| 0.1604 | 9.0 | 3501 | 0.0320 | 0.9735 | 0.9735 | 0.9735 |
| 0.1604 | 10.0 | 3890 | 0.0313 | 0.9722 | 0.9728 | 0.9715 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- 14
Model tree for JuanC513/xlmroberta-ner-prostata-bs8
Base model
FacebookAI/xlm-roberta-large