Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use longma98/distilbert-base-uncased-distilled-clinc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use longma98/distilbert-base-uncased-distilled-clinc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="longma98/distilbert-base-uncased-distilled-clinc")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("longma98/distilbert-base-uncased-distilled-clinc") model = AutoModelForSequenceClassification.from_pretrained("longma98/distilbert-base-uncased-distilled-clinc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
distilbert-base-uncased-distilled-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.1573
- Accuracy: 0.9439
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: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 1.4132 | 1.0 | 318 | 0.9547 | 0.7306 |
| 0.7384 | 2.0 | 636 | 0.4788 | 0.8865 |
| 0.4008 | 3.0 | 954 | 0.2849 | 0.9226 |
| 0.2547 | 4.0 | 1272 | 0.2123 | 0.9323 |
| 0.1946 | 5.0 | 1590 | 0.1840 | 0.9365 |
| 0.1674 | 6.0 | 1908 | 0.1717 | 0.9416 |
| 0.1531 | 7.0 | 2226 | 0.1657 | 0.9426 |
| 0.1449 | 8.0 | 2544 | 0.1607 | 0.9419 |
| 0.1399 | 9.0 | 2862 | 0.1584 | 0.9439 |
| 0.1375 | 10.0 | 3180 | 0.1573 | 0.9439 |
Framework versions
- Transformers 4.48.3
- Pytorch 2.6.0+cu124
- Tokenizers 0.21.0
- Downloads last month
- 3
Model tree for longma98/distilbert-base-uncased-distilled-clinc
Base model
distilbert/distilbert-base-uncased