Xenova HF staff commited on
Commit
0c5d52b
·
verified ·
1 Parent(s): 9a13686

Upload folder using huggingface_hub

Browse files
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[UNK]": 39979
3
+ }
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nghuyong/ernie-3.0-micro-zh",
3
+ "architectures": [
4
+ "ErnieModel"
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": 384,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 1536,
13
+ "layer_norm_eps": 1e-05,
14
+ "max_position_embeddings": 2048,
15
+ "model_type": "ernie",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 4,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "task_type_vocab_size": 16,
21
+ "transformers_version": "4.38.2",
22
+ "type_vocab_size": 4,
23
+ "use_cache": true,
24
+ "use_task_id": true,
25
+ "vocab_size": 40000
26
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe64fc12e8ce0b5768a58d59b120aab2159c36e2310bee59eb4f7fbaa64809f2
3
+ size 93111252
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe2333321edf894e078be1a893d41d60816a1a617787ffa32f5af364700025f4
3
+ size 68784703
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5dafa04dfeba80ce4da3ae4c6f506b84082be9869a91357f3e2c02cc7725162
3
+ size 46634325
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23913e65f794ccc7c9fc6374d16058ddc1609aa09074505632e88880d64965b4
3
+ size 23543469
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a7982fb070200e5eebd027e01fb0f31fdd328f053009bedf7b90ecfd7247a84
3
+ size 69226919
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23913e65f794ccc7c9fc6374d16058ddc1609aa09074505632e88880d64965b4
3
+ size 23543469
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4a16f18f93bb38b89cdaedfab54af9787407dbcdc40efd93541f359f17e5808
3
+ size 23543471
quantize_config.json ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fp16": {},
3
+ "q8": {
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Add",
8
+ "Cast",
9
+ "Concat",
10
+ "Constant",
11
+ "ConstantOfShape",
12
+ "Div",
13
+ "Erf",
14
+ "Gather",
15
+ "MatMul",
16
+ "Mul",
17
+ "Pow",
18
+ "ReduceMean",
19
+ "Reshape",
20
+ "Shape",
21
+ "Slice",
22
+ "Softmax",
23
+ "Sqrt",
24
+ "Sub",
25
+ "Transpose",
26
+ "Unsqueeze"
27
+ ],
28
+ "weight_type": "QInt8"
29
+ }
30
+ },
31
+ "per_channel": true,
32
+ "reduce_range": true
33
+ },
34
+ "int8": {
35
+ "per_model_config": {
36
+ "model": {
37
+ "op_types": [
38
+ "Add",
39
+ "Cast",
40
+ "Concat",
41
+ "Constant",
42
+ "ConstantOfShape",
43
+ "Div",
44
+ "Erf",
45
+ "Gather",
46
+ "MatMul",
47
+ "Mul",
48
+ "Pow",
49
+ "ReduceMean",
50
+ "Reshape",
51
+ "Shape",
52
+ "Slice",
53
+ "Softmax",
54
+ "Sqrt",
55
+ "Sub",
56
+ "Transpose",
57
+ "Unsqueeze"
58
+ ],
59
+ "weight_type": "QInt8"
60
+ }
61
+ },
62
+ "per_channel": true,
63
+ "reduce_range": true
64
+ },
65
+ "uint8": {
66
+ "per_model_config": {
67
+ "model": {
68
+ "op_types": [
69
+ "Add",
70
+ "Cast",
71
+ "Concat",
72
+ "Constant",
73
+ "ConstantOfShape",
74
+ "Div",
75
+ "Erf",
76
+ "Gather",
77
+ "MatMul",
78
+ "Mul",
79
+ "Pow",
80
+ "ReduceMean",
81
+ "Reshape",
82
+ "Shape",
83
+ "Slice",
84
+ "Softmax",
85
+ "Sqrt",
86
+ "Sub",
87
+ "Transpose",
88
+ "Unsqueeze"
89
+ ],
90
+ "weight_type": "QUInt8"
91
+ }
92
+ },
93
+ "per_channel": true,
94
+ "reduce_range": true
95
+ },
96
+ "q4": {
97
+ "block_size": 32,
98
+ "is_symmetric": true,
99
+ "accuracy_level": null
100
+ },
101
+ "bnb4": {
102
+ "block_size": 64,
103
+ "quant_type": 1
104
+ }
105
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[MASK]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "39979": {
36
+ "content": "[UNK]",
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
+ "model_max_length": 1000000000000000019884624838656,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff