Xenova HF staff commited on
Commit
511536d
1 Parent(s): ae428cf

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/tiny-random-ErnieMModel",
3
+ "act_dropout": 0.0,
4
+ "architectures": [
5
+ "ErnieMModel"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 32,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 37,
14
+ "layer_norm_eps": 1e-05,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "ernie_m",
17
+ "num_attention_heads": 4,
18
+ "num_hidden_layers": 5,
19
+ "pad_token_id": 1,
20
+ "transformers_version": "4.38.2",
21
+ "type_vocab_size": 16,
22
+ "vocab_size": 250002
23
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e68de12a763650a2bfdec0e366f2e3fef09f0e47889f6b6950b2968b971260a9
3
+ size 32297008
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bcfa57a17eee2ba2683daae4bcad928932d15fbfc4e9acc707b704a7747c30c
3
+ size 32190417
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b454d075952f47af50dbe07181caa2eead1f06fa9da3ef39ef4f752a767309d3
3
+ size 16235647
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f17f65916bd48246466aa272aff4d25c5b0e422503ccf534238aa10caac68b63
3
+ size 8227330
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10e762b2db8de4e2410938dbc8e1493ae0c5308ee5e6ea129a768e9cc13d9357
3
+ size 32194937
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f17f65916bd48246466aa272aff4d25c5b0e422503ccf534238aa10caac68b63
3
+ size 8227330
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c43c5c027d05774d686dc99b8e20649c8e53a760422f9d522f3cfe1a13072a5
3
+ size 8227332
quantize_config.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "CumSum",
13
+ "Div",
14
+ "Erf",
15
+ "Gather",
16
+ "Identity",
17
+ "MatMul",
18
+ "Mul",
19
+ "Pow",
20
+ "ReduceMean",
21
+ "Reshape",
22
+ "Shape",
23
+ "Softmax",
24
+ "Sqrt",
25
+ "Sub",
26
+ "Transpose",
27
+ "Unsqueeze"
28
+ ],
29
+ "weight_type": "QInt8"
30
+ }
31
+ },
32
+ "per_channel": true,
33
+ "reduce_range": true
34
+ },
35
+ "int8": {
36
+ "per_model_config": {
37
+ "model": {
38
+ "op_types": [
39
+ "Add",
40
+ "Cast",
41
+ "Concat",
42
+ "Constant",
43
+ "ConstantOfShape",
44
+ "CumSum",
45
+ "Div",
46
+ "Erf",
47
+ "Gather",
48
+ "Identity",
49
+ "MatMul",
50
+ "Mul",
51
+ "Pow",
52
+ "ReduceMean",
53
+ "Reshape",
54
+ "Shape",
55
+ "Softmax",
56
+ "Sqrt",
57
+ "Sub",
58
+ "Transpose",
59
+ "Unsqueeze"
60
+ ],
61
+ "weight_type": "QInt8"
62
+ }
63
+ },
64
+ "per_channel": true,
65
+ "reduce_range": true
66
+ },
67
+ "uint8": {
68
+ "per_model_config": {
69
+ "model": {
70
+ "op_types": [
71
+ "Add",
72
+ "Cast",
73
+ "Concat",
74
+ "Constant",
75
+ "ConstantOfShape",
76
+ "CumSum",
77
+ "Div",
78
+ "Erf",
79
+ "Gather",
80
+ "Identity",
81
+ "MatMul",
82
+ "Mul",
83
+ "Pow",
84
+ "ReduceMean",
85
+ "Reshape",
86
+ "Shape",
87
+ "Softmax",
88
+ "Sqrt",
89
+ "Sub",
90
+ "Transpose",
91
+ "Unsqueeze"
92
+ ],
93
+ "weight_type": "QUInt8"
94
+ }
95
+ },
96
+ "per_channel": true,
97
+ "reduce_range": true
98
+ },
99
+ "q4": {
100
+ "block_size": 32,
101
+ "is_symmetric": true,
102
+ "accuracy_level": null
103
+ },
104
+ "bnb4": {
105
+ "block_size": 64,
106
+ "quant_type": 1
107
+ }
108
+ }
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
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_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[CLS]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[PAD]",
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": "[UNK]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
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": false,
47
+ "encoding": "utf8",
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "sp_model_kwargs": {},
53
+ "tokenizer_class": "ErnieMTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff