Text Classification
Transformers
Safetensors
English
distilbert
customer-support
intent-classification
support-tickets
Eval Results (legacy)
text-embeddings-inference
Instructions to use Janvi17/customer-support-ticket-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Janvi17/customer-support-ticket-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Janvi17/customer-support-ticket-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Janvi17/customer-support-ticket-classifier") model = AutoModelForSequenceClassification.from_pretrained("Janvi17/customer-support-ticket-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files- README.md +10 -6
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -18,9 +18,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss:
|
| 22 |
-
- Accuracy: 0.
|
| 23 |
-
- Macro F1: 0.
|
| 24 |
|
| 25 |
## Model description
|
| 26 |
|
|
@@ -45,14 +45,18 @@ The following hyperparameters were used during training:
|
|
| 45 |
- seed: 42
|
| 46 |
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 47 |
- lr_scheduler_type: cosine
|
| 48 |
-
- lr_scheduler_warmup_steps:
|
| 49 |
-
- num_epochs:
|
| 50 |
|
| 51 |
### Training results
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Macro F1 |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
|
| 55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.0088
|
| 22 |
+
- Accuracy: 0.9980
|
| 23 |
+
- Macro F1: 0.9980
|
| 24 |
|
| 25 |
## Model description
|
| 26 |
|
|
|
|
| 45 |
- seed: 42
|
| 46 |
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 47 |
- lr_scheduler_type: cosine
|
| 48 |
+
- lr_scheduler_warmup_steps: 308
|
| 49 |
+
- num_epochs: 5
|
| 50 |
|
| 51 |
### Training results
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Macro F1 |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
|
| 55 |
+
| 0.0229 | 1.0 | 616 | 0.0163 | 0.9976 | 0.9978 |
|
| 56 |
+
| 0.0042 | 2.0 | 1232 | 0.0106 | 0.9968 | 0.9968 |
|
| 57 |
+
| 0.0024 | 3.0 | 1848 | 0.0054 | 0.9988 | 0.9988 |
|
| 58 |
+
| 0.0008 | 4.0 | 2464 | 0.0091 | 0.9980 | 0.9980 |
|
| 59 |
+
| 0.0007 | 5.0 | 3080 | 0.0088 | 0.9980 | 0.9980 |
|
| 60 |
|
| 61 |
|
| 62 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267860252
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4161111e1b1d1f60db269fa3fbacd560ab49e30b84d921b54cd363dbed058c5
|
| 3 |
size 267860252
|