Instructions to use nova-00/db_es_fe2_distilbert_1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nova-00/db_es_fe2_distilbert_1.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nova-00/db_es_fe2_distilbert_1.5")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nova-00/db_es_fe2_distilbert_1.5") model = AutoModelForSequenceClassification.from_pretrained("nova-00/db_es_fe2_distilbert_1.5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
db_es_fe2_distilbert_1.5
This model is a fine-tuned version of dccuchile/distilbert-base-spanish-uncased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.2768
- Accuracy: 0.9408
- F1 Weighted: 0.9406
- Precision Weighted: 0.9407
- Recall Weighted: 0.9408
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.98) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 8
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Weighted | Precision Weighted | Recall Weighted |
|---|---|---|---|---|---|---|---|
| 1.0386 | 1.0 | 2024 | 0.6801 | 0.8248 | 0.8226 | 0.8260 | 0.8248 |
| 0.3843 | 2.0 | 4048 | 0.3469 | 0.9014 | 0.9006 | 0.9021 | 0.9014 |
| 0.2297 | 3.0 | 6072 | 0.2866 | 0.9227 | 0.9227 | 0.9240 | 0.9227 |
| 0.1479 | 4.0 | 8096 | 0.2698 | 0.9305 | 0.9303 | 0.9310 | 0.9305 |
| 0.0925 | 5.0 | 10120 | 0.2694 | 0.9346 | 0.9343 | 0.9346 | 0.9346 |
| 0.0600 | 6.0 | 12144 | 0.2766 | 0.9381 | 0.9378 | 0.9382 | 0.9381 |
| 0.0447 | 7.0 | 14168 | 0.2782 | 0.9376 | 0.9375 | 0.9378 | 0.9376 |
| 0.0381 | 8.0 | 16192 | 0.2768 | 0.9408 | 0.9406 | 0.9407 | 0.9408 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 5
Model tree for nova-00/db_es_fe2_distilbert_1.5
Base model
dccuchile/distilbert-base-spanish-uncased