Instructions to use PauAnd29/beto-sarcasmo-bs32-ep10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PauAnd29/beto-sarcasmo-bs32-ep10 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PauAnd29/beto-sarcasmo-bs32-ep10")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("PauAnd29/beto-sarcasmo-bs32-ep10") model = AutoModelForSequenceClassification.from_pretrained("PauAnd29/beto-sarcasmo-bs32-ep10", device_map="auto") - Notebooks
- Google Colab
- Kaggle
beto-sarcasmo-bs32-ep10
This model is a fine-tuned version of dccuchile/bert-base-spanish-wwm-cased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.6352
- F1 Macro: 0.9149
- F1 Weighted: 0.9191
- Accuracy: 0.9194
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: 16
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 32
- 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
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 Macro | F1 Weighted | Accuracy |
|---|---|---|---|---|---|---|
| 0.6760 | 1.0 | 478 | 0.3306 | 0.8599 | 0.8644 | 0.8631 |
| 0.4085 | 2.0 | 956 | 0.2336 | 0.9046 | 0.9097 | 0.9105 |
| 0.2910 | 3.0 | 1434 | 0.2845 | 0.9059 | 0.9106 | 0.9110 |
| 0.2298 | 4.0 | 1912 | 0.3658 | 0.9133 | 0.9173 | 0.9173 |
| 0.1261 | 5.0 | 2390 | 0.4713 | 0.9121 | 0.9168 | 0.9175 |
| 0.1084 | 6.0 | 2868 | 0.4984 | 0.9177 | 0.9216 | 0.9217 |
| 0.0407 | 7.0 | 3346 | 0.5894 | 0.9136 | 0.9173 | 0.9170 |
| 0.0075 | 8.0 | 3824 | 0.6167 | 0.9150 | 0.9190 | 0.9191 |
| 0.0145 | 9.0 | 4302 | 0.6352 | 0.9149 | 0.9191 | 0.9194 |
Framework versions
- Transformers 5.12.1
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 1
Model tree for PauAnd29/beto-sarcasmo-bs32-ep10
Base model
dccuchile/bert-base-spanish-wwm-cased