Xenova HF staff commited on
Commit
bae6cd6
1 Parent(s): 54157a0

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-xbase-zh",
3
+ "architectures": [
4
+ "ErnieForMaskedLM"
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": 1024,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 4096,
13
+ "layer_norm_eps": 1e-05,
14
+ "max_position_embeddings": 2048,
15
+ "model_type": "ernie",
16
+ "num_attention_heads": 16,
17
+ "num_hidden_layers": 20,
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
+ }
generation_config.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "pad_token_id": 0,
4
+ "transformers_version": "4.38.2"
5
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8785b6ed4c2ae65a68bdc74a0eb6141fb1a9c3897dc210c1fb6ea0bb2861361b
3
+ size 1184848195
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1cdac434f09ee702c818e6a6e491f137947c3a3f0bfb6e731a10101cb3ae014
3
+ size 316187530
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0db792d7946906674ee4b5e5eade5cb694738b82b36bf060d1d2f1e33ac93e0d
3
+ size 592803695
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed53d630d725eb860d3832dd7990e52fdcf8f9639f2461ee98722f7fda74baa5
3
+ size 298728837
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f869975e158babb8cc100c332f4ea7d8c67dc221210a638c3e68dae0c142ec5
3
+ size 331980718
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed53d630d725eb860d3832dd7990e52fdcf8f9639f2461ee98722f7fda74baa5
3
+ size 298728837
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69c1abd5272e3694d9f7e2f51ffe42e59b040fe9a52ab7fc089ef0aac8a01794
3
+ size 298728834
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