Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use JhonMR/Model_200_x_40_v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JhonMR/Model_200_x_40_v4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="JhonMR/Model_200_x_40_v4")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("JhonMR/Model_200_x_40_v4") model = AutoModelForSequenceClassification.from_pretrained("JhonMR/Model_200_x_40_v4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model_200_x_40_v4
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:
- Loss: 0.4154
- Accuracy@en: 0.896
- F1@en: 0.8946
- Precision@en: 0.8970
- Recall@en: 0.8964
- Loss@en: 0.4154
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: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 12
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy@en | F1@en | Precision@en | Recall@en | Loss@en |
|---|---|---|---|---|---|---|---|---|
| 2.8339 | 1.0 | 493 | 1.8810 | 0.5511 | 0.4976 | 0.5227 | 0.5547 | 1.8810 |
| 1.4585 | 2.0 | 986 | 0.9846 | 0.7218 | 0.6827 | 0.7050 | 0.7265 | 0.9846 |
| 0.8709 | 3.0 | 1479 | 0.6892 | 0.8041 | 0.7964 | 0.8221 | 0.8060 | 0.6892 |
| 0.6092 | 4.0 | 1972 | 0.5294 | 0.848 | 0.8433 | 0.8582 | 0.8496 | 0.5294 |
| 0.4529 | 5.0 | 2465 | 0.4832 | 0.8596 | 0.8545 | 0.8772 | 0.8624 | 0.4832 |
| 0.3796 | 6.0 | 2958 | 0.4272 | 0.8895 | 0.8886 | 0.8928 | 0.8894 | 0.4272 |
| 0.3133 | 7.0 | 3451 | 0.4247 | 0.8924 | 0.8915 | 0.8947 | 0.8924 | 0.4247 |
| 0.2718 | 8.0 | 3944 | 0.4317 | 0.8874 | 0.8865 | 0.8905 | 0.8877 | 0.4317 |
| 0.2348 | 9.0 | 4437 | 0.4154 | 0.896 | 0.8946 | 0.8970 | 0.8964 | 0.4154 |
| 0.2096 | 10.0 | 4930 | 0.4267 | 0.8957 | 0.8946 | 0.8968 | 0.8957 | 0.4267 |
| 0.189 | 11.0 | 5423 | 0.4267 | 0.8984 | 0.8973 | 0.8991 | 0.8984 | 0.4267 |
| 0.1791 | 12.0 | 5916 | 0.4320 | 0.8969 | 0.8957 | 0.8978 | 0.8970 | 0.4320 |
Framework versions
- Transformers 4.44.2
- Pytorch 2.5.0+cu121
- Datasets 3.0.2
- Tokenizers 0.19.1
- Downloads last month
- 2
Model tree for JhonMR/Model_200_x_40_v4
Base model
distilbert/distilbert-base-uncased