vazish commited on
Commit
eb4fc79
1 Parent(s): acf812a
config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/google/mobilebert-uncased/",
3
+ "architectures": [
4
+ "MobileBertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_activation": false,
8
+ "classifier_dropout": null,
9
+ "embedding_size": 128,
10
+ "hidden_act": "relu",
11
+ "hidden_dropout_prob": 0.0,
12
+ "hidden_size": 512,
13
+ "id2label": {
14
+ "0": "CC Expiration",
15
+ "1": "CC Expiration Month",
16
+ "2": "CC Expiration Year",
17
+ "3": "CC Name",
18
+ "4": "CC Number",
19
+ "5": "CC Payment Type",
20
+ "6": "CC Security Code",
21
+ "7": "CC Type",
22
+ "8": "Confirm Password",
23
+ "9": "Email",
24
+ "10": "First Name",
25
+ "11": "Form",
26
+ "12": "Last Name",
27
+ "13": "New Password",
28
+ "14": "Other",
29
+ "15": "Phone",
30
+ "16": "Zip Code"
31
+ },
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 512,
34
+ "intra_bottleneck_size": 128,
35
+ "key_query_shared_bottleneck": true,
36
+ "label2id": {
37
+ "CC Expiration": 0,
38
+ "CC Expiration Month": 1,
39
+ "CC Expiration Year": 2,
40
+ "CC Name": 3,
41
+ "CC Number": 4,
42
+ "CC Payment Type": 5,
43
+ "CC Security Code": 6,
44
+ "CC Type": 7,
45
+ "Confirm Password": 8,
46
+ "Email": 9,
47
+ "First Name": 10,
48
+ "Form": 11,
49
+ "Last Name": 12,
50
+ "New Password": 13,
51
+ "Other": 14,
52
+ "Phone": 15,
53
+ "Zip Code": 16
54
+ },
55
+ "layer_norm_eps": 1e-12,
56
+ "max_position_embeddings": 512,
57
+ "model_type": "mobilebert",
58
+ "normalization_type": "no_norm",
59
+ "num_attention_heads": 4,
60
+ "num_feedforward_networks": 4,
61
+ "num_hidden_layers": 24,
62
+ "pad_token_id": 0,
63
+ "problem_type": "single_label_classification",
64
+ "transformers_version": "4.44.2",
65
+ "trigram_input": true,
66
+ "true_hidden_size": 128,
67
+ "type_vocab_size": 2,
68
+ "use_bottleneck": true,
69
+ "use_bottleneck_attention": false,
70
+ "vocab_size": 30522
71
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c1def61ab7448b9edb4bce098d141e52d1435c4da2ab69a508f196d3837629b
3
+ size 98500900
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6297e6e58a4c1682a88f47154db3c528b61d773fb5764e051d2c79527b2a875
3
+ size 26510183
quantize_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": false,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Relu",
8
+ "ConstantOfShape",
9
+ "Softmax",
10
+ "Gather",
11
+ "Div",
12
+ "MatMul",
13
+ "Add",
14
+ "Mul",
15
+ "Reshape",
16
+ "Cast",
17
+ "Gemm",
18
+ "Transpose",
19
+ "Constant",
20
+ "Shape",
21
+ "Slice",
22
+ "Pad",
23
+ "Unsqueeze",
24
+ "Concat",
25
+ "Sub",
26
+ "Identity"
27
+ ],
28
+ "weight_type": "QInt8"
29
+ }
30
+ }
31
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "max_length": 512,
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "stride": 0,
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "MobileBertTokenizer",
56
+ "truncation_side": "right",
57
+ "truncation_strategy": "longest_first",
58
+ "unk_token": "[UNK]"
59
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7680c119d9c958c37db00490731d92512d729e3c266e211ab88eac5b7eee8c5
3
+ size 5176
vocab.txt ADDED
The diff for this file is too large to render. See raw diff