Text Classification
Transformers
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use pbruna/distilbert-base-uncased-finetuned-clinc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pbruna/distilbert-base-uncased-finetuned-clinc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="pbruna/distilbert-base-uncased-finetuned-clinc")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("pbruna/distilbert-base-uncased-finetuned-clinc") model = AutoModelForSequenceClassification.from_pretrained("pbruna/distilbert-base-uncased-finetuned-clinc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
distilbert-base-uncased-finetuned-clinc
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.3223
- Accuracy: 0.9458
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: 48
- eval_batch_size: 48
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 3.4054 | 1.0 | 318 | 2.5365 | 0.7294 |
| 1.9574 | 2.0 | 636 | 1.2998 | 0.8655 |
| 1.0087 | 3.0 | 954 | 0.7107 | 0.9135 |
| 0.5584 | 4.0 | 1272 | 0.4784 | 0.9313 |
| 0.3615 | 5.0 | 1590 | 0.3918 | 0.9368 |
| 0.2731 | 6.0 | 1908 | 0.3560 | 0.9426 |
| 0.2281 | 7.0 | 2226 | 0.3339 | 0.9465 |
| 0.2039 | 8.0 | 2544 | 0.3295 | 0.9442 |
| 0.1926 | 9.0 | 2862 | 0.3229 | 0.9468 |
| 0.186 | 10.0 | 3180 | 0.3223 | 0.9458 |
Framework versions
- Transformers 4.39.3
- Pytorch 2.3.0+cu121
- Datasets 2.19.1
- Tokenizers 0.15.2
- Downloads last month
- 2
Model tree for pbruna/distilbert-base-uncased-finetuned-clinc
Base model
distilbert/distilbert-base-uncased