Instructions to use MayorChris/beto-prostata-bs8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MayorChris/beto-prostata-bs8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="MayorChris/beto-prostata-bs8")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("MayorChris/beto-prostata-bs8") model = AutoModelForTokenClassification.from_pretrained("MayorChris/beto-prostata-bs8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
beto-prostata-bs8
This model is a fine-tuned version of dccuchile/bert-base-spanish-wwm-cased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0274
- Precision: 0.9831
- Recall: 0.9786
- F1: 0.9809
- Accuracy: 0.9960
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.0139 | 1.0 | 389 | 0.0266 | 0.9760 | 0.9754 | 0.9757 | 0.9952 |
| 0.0157 | 2.0 | 778 | 0.0243 | 0.9741 | 0.9735 | 0.9738 | 0.9938 |
| 0.0119 | 3.0 | 1167 | 0.0219 | 0.9818 | 0.9786 | 0.9802 | 0.9961 |
| 0.0095 | 4.0 | 1556 | 0.0237 | 0.9812 | 0.9793 | 0.9802 | 0.9959 |
| 0.0053 | 5.0 | 1945 | 0.0241 | 0.9844 | 0.9819 | 0.9831 | 0.9963 |
| 0.0066 | 6.0 | 2334 | 0.0268 | 0.9824 | 0.9773 | 0.9799 | 0.9958 |
| 0.0054 | 7.0 | 2723 | 0.0274 | 0.9831 | 0.9786 | 0.9809 | 0.9960 |
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/beto-prostata-bs8
Base model
dccuchile/bert-base-spanish-wwm-cased