Instructions to use oscaruv28/tass-beto with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use oscaruv28/tass-beto with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="oscaruv28/tass-beto")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("oscaruv28/tass-beto") model = AutoModelForSequenceClassification.from_pretrained("oscaruv28/tass-beto", device_map="auto") - Notebooks
- Google Colab
- Kaggle
tass-beto
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.7678
- F1 Macro: 0.6678
- F1 Weighted: 0.6709
- Accuracy: 0.6721
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: 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
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 8
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 Macro | F1 Weighted | Accuracy |
|---|---|---|---|---|---|---|
| 0.8469 | 1.0 | 241 | 0.8072 | 0.6196 | 0.6251 | 0.6410 |
| 0.6969 | 2.0 | 482 | 0.7612 | 0.6766 | 0.6801 | 0.6795 |
| 0.5472 | 3.0 | 723 | 0.8319 | 0.6572 | 0.6616 | 0.6681 |
| 0.3238 | 4.0 | 964 | 0.9682 | 0.6534 | 0.6540 | 0.6524 |
| 0.2284 | 5.0 | 1205 | 1.1654 | 0.6571 | 0.6590 | 0.6556 |
Framework versions
- Transformers 5.14.1
- Pytorch 2.11.0+cu128
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- 3
Model tree for oscaruv28/tass-beto
Base model
dccuchile/bert-base-spanish-wwm-cased