Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use Isabeljuradoj27/distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Isabeljuradoj27/distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Isabeljuradoj27/distilbert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Isabeljuradoj27/distilbert") model = AutoModelForSequenceClassification.from_pretrained("Isabeljuradoj27/distilbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
distilbert
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.6209
- F1 Macro: 0.7346
- Accuracy: 0.7941
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
- lr_scheduler_warmup_steps: 50
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 Macro | Accuracy |
|---|---|---|---|---|---|
| 0.8859 | 1.0 | 102 | 0.7611 | 0.5387 | 0.7139 |
| 0.5724 | 2.0 | 204 | 0.6087 | 0.7114 | 0.7754 |
| 0.3808 | 3.0 | 306 | 0.6323 | 0.7096 | 0.7674 |
| 0.3160 | 4.0 | 408 | 0.6145 | 0.7424 | 0.7968 |
| 0.2447 | 5.0 | 510 | 0.6209 | 0.7346 | 0.7941 |
Framework versions
- Transformers 5.3.0
- Pytorch 2.8.0+cu128
- Datasets 4.8.3
- Tokenizers 0.22.2
- Downloads last month
- 3
Model tree for Isabeljuradoj27/distilbert
Base model
distilbert/distilbert-base-uncased