Instructions to use atulksingh/intent-classification-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use atulksingh/intent-classification-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="atulksingh/intent-classification-test")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("atulksingh/intent-classification-test") model = AutoModelForSequenceClassification.from_pretrained("atulksingh/intent-classification-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files
config.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "distilbert-base-uncased",
|
| 3 |
+
"activation": "gelu",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"DistilBertForSequenceClassification"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.1,
|
| 8 |
+
"dim": 768,
|
| 9 |
+
"dropout": 0.1,
|
| 10 |
+
"hidden_dim": 3072,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "add_product",
|
| 13 |
+
"1": "get_product",
|
| 14 |
+
"2": "create_product",
|
| 15 |
+
"3": "update_product",
|
| 16 |
+
"4": "get_product_report",
|
| 17 |
+
"5": "add_contact",
|
| 18 |
+
"6": "get_contact",
|
| 19 |
+
"7": "create_contact",
|
| 20 |
+
"8": "update_contact",
|
| 21 |
+
"9": "get_contact_report",
|
| 22 |
+
"10": "unknown_intent"
|
| 23 |
+
},
|
| 24 |
+
"initializer_range": 0.02,
|
| 25 |
+
"label2id": {
|
| 26 |
+
"add_contact": 5,
|
| 27 |
+
"add_product": 0,
|
| 28 |
+
"create_contact": 7,
|
| 29 |
+
"create_product": 2,
|
| 30 |
+
"get_contact": 6,
|
| 31 |
+
"get_contact_report": 9,
|
| 32 |
+
"get_product": 1,
|
| 33 |
+
"get_product_report": 4,
|
| 34 |
+
"unknown_intent": 10,
|
| 35 |
+
"update_contact": 8,
|
| 36 |
+
"update_product": 3
|
| 37 |
+
},
|
| 38 |
+
"max_position_embeddings": 512,
|
| 39 |
+
"model_type": "distilbert",
|
| 40 |
+
"n_heads": 12,
|
| 41 |
+
"n_layers": 6,
|
| 42 |
+
"pad_token_id": 0,
|
| 43 |
+
"problem_type": "single_label_classification",
|
| 44 |
+
"qa_dropout": 0.1,
|
| 45 |
+
"seq_classif_dropout": 0.2,
|
| 46 |
+
"sinusoidal_pos_embds": false,
|
| 47 |
+
"tie_weights_": true,
|
| 48 |
+
"torch_dtype": "float32",
|
| 49 |
+
"transformers_version": "4.44.2",
|
| 50 |
+
"vocab_size": 30522
|
| 51 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f538d13bf386e18be6f1560db051df31c58a4e114a80395cd68177ebd2e1fe89
|
| 3 |
+
size 267860252
|
runs/Sep06_18-56-48_a81e0bc46fea/events.out.tfevents.1725649009.a81e0bc46fea.1437.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45c8c1c48ccc6b477c967bef716b760d3a933d26295100ef2eae6bb57db00e8a
|
| 3 |
+
size 5952
|
tokenizer.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"padding": null,
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": {
|
| 4 |
+
"direction": "Right",
|
| 5 |
+
"max_length": 512,
|
| 6 |
+
"strategy": "LongestFirst",
|
| 7 |
+
"stride": 0
|
| 8 |
+
},
|
| 9 |
"padding": null,
|
| 10 |
"added_tokens": [
|
| 11 |
{
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0b882d86fb7b88533ad72887e70705be3cc832cc7029fbc3c980753fd5cd368
|
| 3 |
+
size 5176
|