Text Classification
Transformers
Safetensors
English
distilbert
intent detection
distilBert
E-commerce
text-embeddings-inference
Instructions to use monish-sd-7/E-Commerce-Customer-Intent-Detection-Model-Finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use monish-sd-7/E-Commerce-Customer-Intent-Detection-Model-Finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="monish-sd-7/E-Commerce-Customer-Intent-Detection-Model-Finetuned")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("monish-sd-7/E-Commerce-Customer-Intent-Detection-Model-Finetuned") model = AutoModelForSequenceClassification.from_pretrained("monish-sd-7/E-Commerce-Customer-Intent-Detection-Model-Finetuned") - Notebooks
- Google Colab
- Kaggle
| { | |
| "activation": "gelu", | |
| "architectures": [ | |
| "DistilBertForSequenceClassification" | |
| ], | |
| "attention_dropout": 0.1, | |
| "bos_token_id": null, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "dtype": "float32", | |
| "eos_token_id": null, | |
| "hidden_dim": 3072, | |
| "id2label": { | |
| "0": "account_management", | |
| "1": "add_to_cart", | |
| "2": "billing_and_payment", | |
| "3": "customer_care_support", | |
| "4": "delivery_options", | |
| "5": "issue_support", | |
| "6": "order_management", | |
| "7": "order_tracking", | |
| "8": "out_of_scope", | |
| "9": "place_order", | |
| "10": "product_inquiry", | |
| "11": "remove_from_cart", | |
| "12": "shipping_cost", | |
| "13": "store_information", | |
| "14": "submit_feedback" | |
| }, | |
| "initializer_range": 0.02, | |
| "label2id": { | |
| "account_management": 0, | |
| "add_to_cart": 1, | |
| "billing_and_payment": 2, | |
| "customer_care_support": 3, | |
| "delivery_options": 4, | |
| "issue_support": 5, | |
| "order_management": 6, | |
| "order_tracking": 7, | |
| "out_of_scope": 8, | |
| "place_order": 9, | |
| "product_inquiry": 10, | |
| "remove_from_cart": 11, | |
| "shipping_cost": 12, | |
| "store_information": 13, | |
| "submit_feedback": 14 | |
| }, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "pad_token_id": 0, | |
| "problem_type": "single_label_classification", | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": false, | |
| "tie_weights_": true, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.0.0", | |
| "use_cache": false, | |
| "vocab_size": 30522 | |
| } | |