Venkatesh4342
commited on
Commit
•
954cd82
1
Parent(s):
0af4366
Upload folder using huggingface_hub
Browse files- config.json +86 -0
- merges.txt +0 -0
- model_quantized.onnx +3 -0
- ort_config.json +35 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +64 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/tmp/tmpicmfaupv",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "cancel_order",
|
15 |
+
"1": "change_order",
|
16 |
+
"2": "change_shipping_address",
|
17 |
+
"3": "check_cancellation_fee",
|
18 |
+
"4": "check_invoice",
|
19 |
+
"5": "check_payment_methods",
|
20 |
+
"6": "check_refund_policy",
|
21 |
+
"7": "complaint",
|
22 |
+
"8": "contact_customer_service",
|
23 |
+
"9": "contact_human_agent",
|
24 |
+
"10": "create_account",
|
25 |
+
"11": "delete_account",
|
26 |
+
"12": "delivery_options",
|
27 |
+
"13": "delivery_period",
|
28 |
+
"14": "edit_account",
|
29 |
+
"15": "get_invoice",
|
30 |
+
"16": "get_refund",
|
31 |
+
"17": "newsletter_subscription",
|
32 |
+
"18": "payment_issue",
|
33 |
+
"19": "place_order",
|
34 |
+
"20": "recover_password",
|
35 |
+
"21": "registration_problems",
|
36 |
+
"22": "review",
|
37 |
+
"23": "set_up_shipping_address",
|
38 |
+
"24": "switch_account",
|
39 |
+
"25": "track_order",
|
40 |
+
"26": "track_refund"
|
41 |
+
},
|
42 |
+
"initializer_range": 0.02,
|
43 |
+
"intermediate_size": 3072,
|
44 |
+
"label2id": {
|
45 |
+
"cancel_order": 0,
|
46 |
+
"change_order": 1,
|
47 |
+
"change_shipping_address": 2,
|
48 |
+
"check_cancellation_fee": 3,
|
49 |
+
"check_invoice": 4,
|
50 |
+
"check_payment_methods": 5,
|
51 |
+
"check_refund_policy": 6,
|
52 |
+
"complaint": 7,
|
53 |
+
"contact_customer_service": 8,
|
54 |
+
"contact_human_agent": 9,
|
55 |
+
"create_account": 10,
|
56 |
+
"delete_account": 11,
|
57 |
+
"delivery_options": 12,
|
58 |
+
"delivery_period": 13,
|
59 |
+
"edit_account": 14,
|
60 |
+
"get_invoice": 15,
|
61 |
+
"get_refund": 16,
|
62 |
+
"newsletter_subscription": 17,
|
63 |
+
"payment_issue": 18,
|
64 |
+
"place_order": 19,
|
65 |
+
"recover_password": 20,
|
66 |
+
"registration_problems": 21,
|
67 |
+
"review": 22,
|
68 |
+
"set_up_shipping_address": 23,
|
69 |
+
"switch_account": 24,
|
70 |
+
"track_order": 25,
|
71 |
+
"track_refund": 26
|
72 |
+
},
|
73 |
+
"layer_norm_eps": 1e-05,
|
74 |
+
"max_position_embeddings": 514,
|
75 |
+
"model_type": "roberta",
|
76 |
+
"num_attention_heads": 12,
|
77 |
+
"num_hidden_layers": 6,
|
78 |
+
"pad_token_id": 1,
|
79 |
+
"position_embedding_type": "absolute",
|
80 |
+
"problem_type": "single_label_classification",
|
81 |
+
"torch_dtype": "float32",
|
82 |
+
"transformers_version": "4.35.2",
|
83 |
+
"type_vocab_size": 1,
|
84 |
+
"use_cache": true,
|
85 |
+
"vocab_size": 50265
|
86 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b77cd3b763dcd0b4d2dd9476218aee637c0f74bbdc2f0864af8fffd2a331f610
|
3 |
+
size 82592168
|
ort_config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"one_external_file": true,
|
3 |
+
"opset": null,
|
4 |
+
"optimization": {},
|
5 |
+
"optimum_version": "1.16.0.dev0",
|
6 |
+
"quantization": {
|
7 |
+
"activations_dtype": "QUInt8",
|
8 |
+
"activations_symmetric": false,
|
9 |
+
"format": "QOperator",
|
10 |
+
"is_static": false,
|
11 |
+
"mode": "IntegerOps",
|
12 |
+
"nodes_to_exclude": [],
|
13 |
+
"nodes_to_quantize": [],
|
14 |
+
"operators_to_quantize": [
|
15 |
+
"Conv",
|
16 |
+
"MatMul",
|
17 |
+
"Attention",
|
18 |
+
"LSTM",
|
19 |
+
"Gather",
|
20 |
+
"Transpose",
|
21 |
+
"EmbedLayerNormalization"
|
22 |
+
],
|
23 |
+
"per_channel": false,
|
24 |
+
"qdq_add_pair_to_weight": false,
|
25 |
+
"qdq_dedicated_pair": false,
|
26 |
+
"qdq_op_type_per_channel_support_to_axis": {
|
27 |
+
"MatMul": 1
|
28 |
+
},
|
29 |
+
"reduce_range": false,
|
30 |
+
"weights_dtype": "QInt8",
|
31 |
+
"weights_symmetric": true
|
32 |
+
},
|
33 |
+
"transformers_version": "4.35.2",
|
34 |
+
"use_external_data_format": false
|
35 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": true,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"50264": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"bos_token": "<s>",
|
46 |
+
"clean_up_tokenization_spaces": true,
|
47 |
+
"cls_token": "<s>",
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"mask_token": "<mask>",
|
51 |
+
"max_length": 512,
|
52 |
+
"model_max_length": 512,
|
53 |
+
"pad_to_multiple_of": null,
|
54 |
+
"pad_token": "<pad>",
|
55 |
+
"pad_token_type_id": 0,
|
56 |
+
"padding_side": "right",
|
57 |
+
"sep_token": "</s>",
|
58 |
+
"stride": 0,
|
59 |
+
"tokenizer_class": "RobertaTokenizer",
|
60 |
+
"trim_offsets": true,
|
61 |
+
"truncation_side": "right",
|
62 |
+
"truncation_strategy": "longest_first",
|
63 |
+
"unk_token": "<unk>"
|
64 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|