Instructions to use phrimm136/distilbert-base-uncased-intent-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use phrimm136/distilbert-base-uncased-intent-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="phrimm136/distilbert-base-uncased-intent-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("phrimm136/distilbert-base-uncased-intent-classification") model = AutoModelForSequenceClassification.from_pretrained("phrimm136/distilbert-base-uncased-intent-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
results
This model is a fine-tuned version of distilbert-base-uncased on the BlendX dataset. It achieves the following results on the evaluation set:
- Loss: 0.0446
- Model Preparation Time: 0.0016
- Accuracy: 0.9867
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 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: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Model Preparation Time | Accuracy |
|---|---|---|---|---|---|
| 0.1609 | 1.0 | 901 | 0.0665 | 0.0016 | 0.9864 |
| 0.0574 | 2.0 | 1802 | 0.0497 | 0.0016 | 0.9864 |
| 0.0445 | 3.0 | 2703 | 0.0446 | 0.0016 | 0.9867 |
Framework versions
- Transformers 4.46.3
- Pytorch 2.5.1+cu121
- Datasets 3.2.0
- Tokenizers 0.20.3
- Downloads last month
- 8
Model tree for phrimm136/distilbert-base-uncased-intent-classification
Base model
distilbert/distilbert-base-uncased