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") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- config.json +54 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation": "gelu",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"DistilBertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.1,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"dim": 768,
|
| 9 |
+
"dropout": 0.1,
|
| 10 |
+
"dtype": "float32",
|
| 11 |
+
"eos_token_id": null,
|
| 12 |
+
"hidden_dim": 3072,
|
| 13 |
+
"id2label": {
|
| 14 |
+
"0": "ACCOUNT",
|
| 15 |
+
"1": "CANCEL",
|
| 16 |
+
"2": "CONTACT",
|
| 17 |
+
"3": "DELIVERY",
|
| 18 |
+
"4": "FEEDBACK",
|
| 19 |
+
"5": "INVOICE",
|
| 20 |
+
"6": "ORDER",
|
| 21 |
+
"7": "PAYMENT",
|
| 22 |
+
"8": "REFUND",
|
| 23 |
+
"9": "SHIPPING",
|
| 24 |
+
"10": "SUBSCRIPTION"
|
| 25 |
+
},
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"label2id": {
|
| 28 |
+
"ACCOUNT": 0,
|
| 29 |
+
"CANCEL": 1,
|
| 30 |
+
"CONTACT": 2,
|
| 31 |
+
"DELIVERY": 3,
|
| 32 |
+
"FEEDBACK": 4,
|
| 33 |
+
"INVOICE": 5,
|
| 34 |
+
"ORDER": 6,
|
| 35 |
+
"PAYMENT": 7,
|
| 36 |
+
"REFUND": 8,
|
| 37 |
+
"SHIPPING": 9,
|
| 38 |
+
"SUBSCRIPTION": 10
|
| 39 |
+
},
|
| 40 |
+
"max_position_embeddings": 512,
|
| 41 |
+
"model_type": "distilbert",
|
| 42 |
+
"n_heads": 12,
|
| 43 |
+
"n_layers": 6,
|
| 44 |
+
"pad_token_id": 0,
|
| 45 |
+
"problem_type": "single_label_classification",
|
| 46 |
+
"qa_dropout": 0.1,
|
| 47 |
+
"seq_classif_dropout": 0.2,
|
| 48 |
+
"sinusoidal_pos_embds": false,
|
| 49 |
+
"tie_weights_": true,
|
| 50 |
+
"tie_word_embeddings": true,
|
| 51 |
+
"transformers_version": "5.7.0",
|
| 52 |
+
"use_cache": false,
|
| 53 |
+
"vocab_size": 30522
|
| 54 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ea29c3fca88d404269fe26dbbf36a6cf118a451896d82106b576642a10ef976
|
| 3 |
+
size 267860252
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_lower_case": true,
|
| 5 |
+
"is_local": false,
|
| 6 |
+
"local_files_only": false,
|
| 7 |
+
"mask_token": "[MASK]",
|
| 8 |
+
"model_max_length": 512,
|
| 9 |
+
"pad_token": "[PAD]",
|
| 10 |
+
"sep_token": "[SEP]",
|
| 11 |
+
"strip_accents": null,
|
| 12 |
+
"tokenize_chinese_chars": true,
|
| 13 |
+
"tokenizer_class": "BertTokenizer",
|
| 14 |
+
"unk_token": "[UNK]"
|
| 15 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a2ae00e7ba979b50779a0969b295318fabdf2397a94eff6a664adb5ac0339f8
|
| 3 |
+
size 5329
|