Instructions to use PauAnd29/beto-sarcasmo-bs16-ep10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PauAnd29/beto-sarcasmo-bs16-ep10 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PauAnd29/beto-sarcasmo-bs16-ep10")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("PauAnd29/beto-sarcasmo-bs16-ep10") model = AutoModelForSequenceClassification.from_pretrained("PauAnd29/beto-sarcasmo-bs16-ep10", device_map="auto") - Notebooks
- Google Colab
- Kaggle
beto-sarcasmo-bs16-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.6697
- F1 Macro: 0.9163
- F1 Weighted: 0.9205
- Accuracy: 0.9209
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
- 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.3231 | 1.0 | 955 | 0.3027 | 0.8762 | 0.8809 | 0.8801 |
| 0.2346 | 2.0 | 1910 | 0.2316 | 0.9130 | 0.9173 | 0.9175 |
| 0.1371 | 3.0 | 2865 | 0.3756 | 0.9099 | 0.9145 | 0.9149 |
| 0.1223 | 4.0 | 3820 | 0.4258 | 0.9180 | 0.9220 | 0.9223 |
| 0.0417 | 5.0 | 4775 | 0.5131 | 0.9189 | 0.9230 | 0.9233 |
| 0.0444 | 6.0 | 5730 | 0.5704 | 0.9168 | 0.9209 | 0.9212 |
| 0.0046 | 7.0 | 6685 | 0.6472 | 0.9157 | 0.9200 | 0.9204 |
| 0.0069 | 8.0 | 7640 | 0.6697 | 0.9163 | 0.9205 | 0.9209 |
Framework versions
- Transformers 5.12.1
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 12
Model tree for PauAnd29/beto-sarcasmo-bs16-ep10
Base model
dccuchile/bert-base-spanish-wwm-cased