Instructions to use arthurtechia/beto_sarcasmo_bs32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arthurtechia/beto_sarcasmo_bs32 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="arthurtechia/beto_sarcasmo_bs32")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("arthurtechia/beto_sarcasmo_bs32") model = AutoModelForSequenceClassification.from_pretrained("arthurtechia/beto_sarcasmo_bs32", device_map="auto") - Notebooks
- Google Colab
- Kaggle
beto_sarcasmo_bs32
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.0017
- F1 Macro: 0.9997
- Recall Macro: 0.9997
- Precision Macro: 0.9997
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: 32
- eval_batch_size: 32
- 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 | F1 Macro | Recall Macro | Precision Macro |
|---|---|---|---|---|---|---|
| No log | 1.0 | 478 | 0.2649 | 0.8903 | 0.8963 | 0.8865 |
| 0.3242 | 2.0 | 956 | 0.2594 | 0.9113 | 0.9109 | 0.9116 |
| 0.1423 | 3.0 | 1434 | 0.3783 | 0.9158 | 0.9161 | 0.9155 |
| 0.0752 | 4.0 | 1912 | 0.5054 | 0.9101 | 0.9148 | 0.9067 |
| 0.0356 | 5.0 | 2390 | 0.5602 | 0.9175 | 0.9183 | 0.9168 |
| 0.0169 | 6.0 | 2868 | 0.6233 | 0.9160 | 0.9171 | 0.9149 |
| 0.0088 | 7.0 | 3346 | 0.6389 | 0.9167 | 0.9161 | 0.9174 |
| 0.0055 | 8.0 | 3824 | 0.6461 | 0.9175 | 0.9166 | 0.9184 |
Framework versions
- Transformers 5.10.2
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 1
Model tree for arthurtechia/beto_sarcasmo_bs32
Base model
dccuchile/bert-base-spanish-wwm-cased