vazish commited on
Commit
a91c958
1 Parent(s): 9260cf3

added onnx models

Browse files
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/google/bert_uncased_L-2_H-128_A-2/",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 128,
11
+ "id2label": {
12
+ "0": "CC Expiration",
13
+ "1": "CC Expiration Month",
14
+ "2": "CC Expiration Year",
15
+ "3": "CC Name",
16
+ "4": "CC Number",
17
+ "5": "CC Payment Type",
18
+ "6": "CC Security Code",
19
+ "7": "CC Type",
20
+ "8": "Confirm Password",
21
+ "9": "Email",
22
+ "10": "First Name",
23
+ "11": "Form",
24
+ "12": "Last Name",
25
+ "13": "New Password",
26
+ "14": "Other",
27
+ "15": "Phone",
28
+ "16": "Zip Code"
29
+ },
30
+ "initializer_range": 0.02,
31
+ "intermediate_size": 512,
32
+ "label2id": {
33
+ "CC Expiration": 0,
34
+ "CC Expiration Month": 1,
35
+ "CC Expiration Year": 2,
36
+ "CC Name": 3,
37
+ "CC Number": 4,
38
+ "CC Payment Type": 5,
39
+ "CC Security Code": 6,
40
+ "CC Type": 7,
41
+ "Confirm Password": 8,
42
+ "Email": 9,
43
+ "First Name": 10,
44
+ "Form": 11,
45
+ "Last Name": 12,
46
+ "New Password": 13,
47
+ "Other": 14,
48
+ "Phone": 15,
49
+ "Zip Code": 16
50
+ },
51
+ "layer_norm_eps": 1e-12,
52
+ "max_position_embeddings": 512,
53
+ "model_type": "bert",
54
+ "num_attention_heads": 2,
55
+ "num_hidden_layers": 2,
56
+ "pad_token_id": 0,
57
+ "position_embedding_type": "absolute",
58
+ "problem_type": "single_label_classification",
59
+ "transformers_version": "4.43.4",
60
+ "type_vocab_size": 2,
61
+ "use_cache": true,
62
+ "vocab_size": 30522
63
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae35615ec0fd38b334ac7e3b117396b0113d4d4eb423403f2f156846b57d8803
3
+ size 17557052
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd9b66acf4b1866188af45cdc4c1b5acfb786baa9701693748b7ebbcf129b46c
3
+ size 17619230
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4242cf43e42cb693eb9000d1e7986c6cab6f6b1a8e2085cc878c7cc27d018274
3
+ size 16269381
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e66a155a0fefe81ca4146ca05c441e93945a78d45cd1b7c9b9cfb23f3e73ba3c
3
+ size 8843054
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d3520db9596e1b6a0c98b45bb801d59b16a73fffae7ff009ad8c35e8644ae65
3
+ size 4484835
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bd48a44069ebc3e6cf2e238f3ec5847f0f32bd7da6aea016d192b128aae5f33
3
+ size 16293869
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7581463a91668dab42a78408fcc2b754506d4423cccc78c088ea7cef99abdbbd
3
+ size 8279549
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d3520db9596e1b6a0c98b45bb801d59b16a73fffae7ff009ad8c35e8644ae65
3
+ size 4484835
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97bcf6306cab4028e845af3aaef3c34a48a70afe4a2c7789b0a05c687087bca6
3
+ size 4484834
quantize_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modes": [
3
+ "fp16",
4
+ "q8",
5
+ "int8",
6
+ "uint8",
7
+ "q4",
8
+ "q4f16",
9
+ "bnb4"
10
+ ],
11
+ "per_channel": false,
12
+ "reduce_range": true,
13
+ "block_size": null,
14
+ "is_symmetric": true,
15
+ "accuracy_level": null,
16
+ "quant_type": 1
17
+ }
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,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 512,
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "stride": 0,
55
+ "strip_accents": null,
56
+ "tokenize_chinese_chars": true,
57
+ "tokenizer_class": "BertTokenizer",
58
+ "truncation_side": "right",
59
+ "truncation_strategy": "longest_first",
60
+ "unk_token": "[UNK]"
61
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6b17bbbeb66472aa605b1435a1c583a24a6f0622bffd3baa5e42556e9b9cae1
3
+ size 5176
vocab.txt ADDED
The diff for this file is too large to render. See raw diff