system HF staff commited on
Commit
2807a6e
1 Parent(s): 805249d

Commit From AutoTrain

Browse files
.gitattributes CHANGED
@@ -26,3 +26,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
26
  *.zip filter=lfs diff=lfs merge=lfs -text
27
  *.zstandard filter=lfs diff=lfs merge=lfs -text
28
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
26
  *.zip filter=lfs diff=lfs merge=lfs -text
27
  *.zstandard filter=lfs diff=lfs merge=lfs -text
28
  *tfevents* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
30
+ *.pkl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags: autotrain
3
+ language: en
4
+ widget:
5
+ - text: "I love AutoTrain 🤗"
6
+ datasets:
7
+ - xInsignia/autotrain-data-Online_orders-5cf92320
8
+ co2_eq_emissions: 2.4120667129093043
9
+ ---
10
+
11
+ # Model Trained Using AutoTrain
12
+
13
+ - Problem type: Multi-class Classification
14
+ - Model ID: 755323156
15
+ - CO2 Emissions (in grams): 2.4120667129093043
16
+
17
+ ## Validation Metrics
18
+
19
+ - Loss: 0.17826060950756073
20
+ - Accuracy: 0.9550898203592815
21
+ - Macro F1: 0.8880388927888968
22
+ - Micro F1: 0.9550898203592815
23
+ - Weighted F1: 0.9528256324309916
24
+ - Macro Precision: 0.9093073732635162
25
+ - Micro Precision: 0.9550898203592815
26
+ - Weighted Precision: 0.9533674643333371
27
+ - Macro Recall: 0.8872729481745715
28
+ - Micro Recall: 0.9550898203592815
29
+ - Weighted Recall: 0.9550898203592815
30
+
31
+
32
+ ## Usage
33
+
34
+ You can use cURL to access this model:
35
+
36
+ ```
37
+ $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/xInsignia/autotrain-Online_orders-755323156
38
+ ```
39
+
40
+ Or Python API:
41
+
42
+ ```
43
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
44
+
45
+ model = AutoModelForSequenceClassification.from_pretrained("xInsignia/autotrain-Online_orders-755323156", use_auth_token=True)
46
+
47
+ tokenizer = AutoTokenizer.from_pretrained("xInsignia/autotrain-Online_orders-755323156", use_auth_token=True)
48
+
49
+ inputs = tokenizer("I love AutoTrain", return_tensors="pt")
50
+
51
+ outputs = model(**inputs)
52
+ ```
config.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "AutoTrain",
3
+ "_num_labels": 37,
4
+ "activation": "gelu",
5
+ "architectures": [
6
+ "DistilBertForSequenceClassification"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "dim": 768,
10
+ "dropout": 0.1,
11
+ "hidden_dim": 3072,
12
+ "id2label": {
13
+ "0": "bookflight",
14
+ "1": "changeorder",
15
+ "2": "changeseatassignment",
16
+ "3": "checkbalance",
17
+ "4": "checkclaimstatus",
18
+ "5": "checkoffereligibility",
19
+ "6": "checkserverstatus",
20
+ "7": "closeaccount",
21
+ "8": "disputecharge",
22
+ "9": "expensereport",
23
+ "10": "getboardingpass",
24
+ "11": "getinformationintent",
25
+ "12": "getpromotions",
26
+ "13": "getproofofinsurance",
27
+ "14": "getroutingnumber",
28
+ "15": "getseatinfo",
29
+ "16": "orderbreakfastintent",
30
+ "17": "orderburgerintent",
31
+ "18": "orderchecks",
32
+ "19": "orderdessertintent",
33
+ "20": "orderdrinkintent",
34
+ "21": "orderpizzaintent",
35
+ "22": "ordersaladintent",
36
+ "23": "ordersideintent",
37
+ "24": "providereceipt",
38
+ "25": "replacecard",
39
+ "26": "reportbrokenphone",
40
+ "27": "reportbrokensoftware",
41
+ "28": "reportlostcard",
42
+ "29": "softwareupdate",
43
+ "30": "startorder",
44
+ "31": "startserviceintent",
45
+ "32": "stoporder",
46
+ "33": "transfermoney",
47
+ "34": "updateaddress",
48
+ "35": "upgradeserviceintent",
49
+ "36": "viewbillsintent"
50
+ },
51
+ "initializer_range": 0.02,
52
+ "label2id": {
53
+ "bookflight": 0,
54
+ "changeorder": 1,
55
+ "changeseatassignment": 2,
56
+ "checkbalance": 3,
57
+ "checkclaimstatus": 4,
58
+ "checkoffereligibility": 5,
59
+ "checkserverstatus": 6,
60
+ "closeaccount": 7,
61
+ "disputecharge": 8,
62
+ "expensereport": 9,
63
+ "getboardingpass": 10,
64
+ "getinformationintent": 11,
65
+ "getpromotions": 12,
66
+ "getproofofinsurance": 13,
67
+ "getroutingnumber": 14,
68
+ "getseatinfo": 15,
69
+ "orderbreakfastintent": 16,
70
+ "orderburgerintent": 17,
71
+ "orderchecks": 18,
72
+ "orderdessertintent": 19,
73
+ "orderdrinkintent": 20,
74
+ "orderpizzaintent": 21,
75
+ "ordersaladintent": 22,
76
+ "ordersideintent": 23,
77
+ "providereceipt": 24,
78
+ "replacecard": 25,
79
+ "reportbrokenphone": 26,
80
+ "reportbrokensoftware": 27,
81
+ "reportlostcard": 28,
82
+ "softwareupdate": 29,
83
+ "startorder": 30,
84
+ "startserviceintent": 31,
85
+ "stoporder": 32,
86
+ "transfermoney": 33,
87
+ "updateaddress": 34,
88
+ "upgradeserviceintent": 35,
89
+ "viewbillsintent": 36
90
+ },
91
+ "max_length": 64,
92
+ "max_position_embeddings": 512,
93
+ "model_type": "distilbert",
94
+ "n_heads": 12,
95
+ "n_layers": 6,
96
+ "output_past": true,
97
+ "pad_token_id": 0,
98
+ "padding": "max_length",
99
+ "problem_type": "single_label_classification",
100
+ "qa_dropout": 0.1,
101
+ "seq_classif_dropout": 0.2,
102
+ "sinusoidal_pos_embds": true,
103
+ "tie_weights_": true,
104
+ "torch_dtype": "float32",
105
+ "transformers_version": "4.15.0",
106
+ "vocab_size": 28996
107
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:947228f896af73e60d99a1d174cb74f248468f3a4734df33990af802a43ae545
3
+ size 263279857
sample_input.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ade42f3c5166865db5f4b3ea573cc8fc4c86a4550aecd4a0ea729fbb82316bf
3
+ size 2034
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": false, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "AutoTrain", "tokenizer_class": "DistilBertTokenizer"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff