Instructions to use NiGuLa/dccuchile_bert-base-spanish-wwm-cased_ep10_lr1e-06_batchpergpu16_gpu1_weighted with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NiGuLa/dccuchile_bert-base-spanish-wwm-cased_ep10_lr1e-06_batchpergpu16_gpu1_weighted with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NiGuLa/dccuchile_bert-base-spanish-wwm-cased_ep10_lr1e-06_batchpergpu16_gpu1_weighted")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("NiGuLa/dccuchile_bert-base-spanish-wwm-cased_ep10_lr1e-06_batchpergpu16_gpu1_weighted") model = AutoModelForSequenceClassification.from_pretrained("NiGuLa/dccuchile_bert-base-spanish-wwm-cased_ep10_lr1e-06_batchpergpu16_gpu1_weighted", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| library_name: transformers | |
| base_model: dccuchile/bert-base-spanish-wwm-cased | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: dccuchile_bert-base-spanish-wwm-cased_ep10_lr1e-06_batchpergpu16_gpu1_weighted | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # dccuchile_bert-base-spanish-wwm-cased_ep10_lr1e-06_batchpergpu16_gpu1_weighted | |
| This model is a fine-tuned version of [dccuchile/bert-base-spanish-wwm-cased](https://huggingface.co/dccuchile/bert-base-spanish-wwm-cased) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.4372 | |
| - F1 Micro: 0.5905 | |
| - F1 Macro: 0.1210 | |
| - Exact Match: 0.6496 | |
| ## 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-06 | |
| - train_batch_size: 16 | |
| - eval_batch_size: 16 | |
| - seed: 42 | |
| - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: linear | |
| - num_epochs: 10 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | F1 Micro | F1 Macro | Exact Match | | |
| |:-------------:|:------:|:----:|:---------------:|:--------:|:--------:|:-----------:| | |
| | 0.5336 | 0.9924 | 131 | 0.5409 | 0.5828 | 0.1152 | 0.5644 | | |
| | 0.5046 | 1.9848 | 262 | 0.4838 | 0.5705 | 0.1159 | 0.6155 | | |
| | 0.4865 | 2.9773 | 393 | 0.4652 | 0.6129 | 0.1232 | 0.6420 | | |
| | 0.5026 | 3.9697 | 524 | 0.4510 | 0.5809 | 0.1187 | 0.6345 | | |
| | 0.4061 | 4.9621 | 655 | 0.4372 | 0.5905 | 0.1210 | 0.6496 | | |
| ### Framework versions | |
| - Transformers 5.6.2 | |
| - Pytorch 2.11.0+cu130 | |
| - Datasets 4.8.4 | |
| - Tokenizers 0.22.2 | |