Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use JhonMR/DistriBert_v10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JhonMR/DistriBert_v10 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="JhonMR/DistriBert_v10")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("JhonMR/DistriBert_v10") model = AutoModelForSequenceClassification.from_pretrained("JhonMR/DistriBert_v10", device_map="auto") - Notebooks
- Google Colab
- Kaggle
DistriBert_v10
This model is a fine-tuned version of distilbert/distilbert-base-uncased on the None dataset. It achieves the following results on the evaluation set:
- Accuracy@en: 0.9045
- F1@en: 0.9042
- Precision@en: 0.9068
- Recall@en: 0.9060
- Loss@en: 0.3855
- Loss: 0.3855
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: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 20
Training results
| Training Loss | Epoch | Step | Accuracy@en | F1@en | Precision@en | Recall@en | Loss@en | Validation Loss |
|---|---|---|---|---|---|---|---|---|
| 3.5709 | 1.0 | 276 | 0.1886 | 0.1152 | 0.1680 | 0.1950 | 3.1240 | 3.1240 |
| 2.6043 | 2.0 | 552 | 0.5439 | 0.4938 | 0.5337 | 0.5479 | 1.8613 | 1.8613 |
| 1.3882 | 3.0 | 828 | 0.7577 | 0.7300 | 0.7811 | 0.7628 | 0.8831 | 0.8831 |
| 0.7307 | 4.0 | 1104 | 0.8354 | 0.8315 | 0.8461 | 0.8399 | 0.5816 | 0.5816 |
| 0.4954 | 5.0 | 1380 | 0.8688 | 0.8619 | 0.8666 | 0.8731 | 0.4491 | 0.4491 |
| 0.3782 | 6.0 | 1656 | 0.8788 | 0.8724 | 0.8752 | 0.8830 | 0.4025 | 0.4025 |
| 0.3106 | 7.0 | 1932 | 0.9045 | 0.9042 | 0.9068 | 0.9060 | 0.3855 | 0.3855 |
| 0.2667 | 8.0 | 2208 | 0.9011 | 0.9004 | 0.9031 | 0.9013 | 0.3874 | 0.3874 |
| 0.2354 | 9.0 | 2484 | 0.9034 | 0.9027 | 0.9048 | 0.9045 | 0.3914 | 0.3914 |
Framework versions
- Transformers 4.44.2
- Pytorch 2.5.0+cu121
- Datasets 3.1.0
- Tokenizers 0.19.1
- Downloads last month
- 2
Model tree for JhonMR/DistriBert_v10
Base model
distilbert/distilbert-base-uncased