Xenova HF staff commited on
Commit
2a1875e
1 Parent(s): c00cf52

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ onnx/model.onnx_data filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "MoritzLaurer/ernie-m-large-mnli-xnli",
3
+ "act_dropout": 0.0,
4
+ "architectures": [
5
+ "ErnieMForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "id2label": {
14
+ "0": "entailment",
15
+ "1": "neutral",
16
+ "2": "contradiction"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 4096,
20
+ "label2id": {
21
+ "contradiction": 2,
22
+ "entailment": 0,
23
+ "neutral": 1
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "ernie_m",
28
+ "num_attention_heads": 16,
29
+ "num_hidden_layers": 24,
30
+ "pad_token_id": 1,
31
+ "paddlenlp_version": null,
32
+ "problem_type": "single_label_classification",
33
+ "transformers_version": "4.38.2",
34
+ "type_vocab_size": 16,
35
+ "vocab_size": 250002
36
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27d59f6bbd796cc2a89aa4d9bfa758074ccfe25597ef4b6fc18a96da86e1d944
3
+ size 596082
onnx/model.onnx_data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b9ab0362121f3d501a0393480345b0bec43646e1bc416638b93e69584684fc6
3
+ size 2239569920
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebe9aa46100f420456251f2207b1189105c16ed29d6a03bc3524366d8bfe442e
3
+ size 1202073528
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a066b5eb6c9bf1ed5f4ec868ba0f933ac76783879fbda4167cbd4b9f1afbe10
3
+ size 562905520
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4399c549cdaa90f54d720dfc24ba36b55b6bbe1a43a29c6984de335f28b9426a
3
+ size 1220946720
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a066b5eb6c9bf1ed5f4ec868ba0f933ac76783879fbda4167cbd4b9f1afbe10
3
+ size 562905520
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e820c89f8d189c3b1e38af9b25e43e018e76740be29cc8920a496a3ec462424
3
+ size 562905519
quantize_config.json ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "q8": {
3
+ "per_model_config": {
4
+ "model": {
5
+ "op_types": [
6
+ "Add",
7
+ "Cast",
8
+ "Concat",
9
+ "Constant",
10
+ "ConstantOfShape",
11
+ "CumSum",
12
+ "Div",
13
+ "Erf",
14
+ "Gather",
15
+ "Gemm",
16
+ "MatMul",
17
+ "Mul",
18
+ "Pow",
19
+ "ReduceMean",
20
+ "Reshape",
21
+ "Shape",
22
+ "Softmax",
23
+ "Sqrt",
24
+ "Sub",
25
+ "Tanh",
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
+ "Gemm",
49
+ "MatMul",
50
+ "Mul",
51
+ "Pow",
52
+ "ReduceMean",
53
+ "Reshape",
54
+ "Shape",
55
+ "Softmax",
56
+ "Sqrt",
57
+ "Sub",
58
+ "Tanh",
59
+ "Transpose",
60
+ "Unsqueeze"
61
+ ],
62
+ "weight_type": "QInt8"
63
+ }
64
+ },
65
+ "per_channel": true,
66
+ "reduce_range": true
67
+ },
68
+ "uint8": {
69
+ "per_model_config": {
70
+ "model": {
71
+ "op_types": [
72
+ "Add",
73
+ "Cast",
74
+ "Concat",
75
+ "Constant",
76
+ "ConstantOfShape",
77
+ "CumSum",
78
+ "Div",
79
+ "Erf",
80
+ "Gather",
81
+ "Gemm",
82
+ "MatMul",
83
+ "Mul",
84
+ "Pow",
85
+ "ReduceMean",
86
+ "Reshape",
87
+ "Shape",
88
+ "Softmax",
89
+ "Sqrt",
90
+ "Sub",
91
+ "Tanh",
92
+ "Transpose",
93
+ "Unsqueeze"
94
+ ],
95
+ "weight_type": "QUInt8"
96
+ }
97
+ },
98
+ "per_channel": true,
99
+ "reduce_range": true
100
+ },
101
+ "q4": {
102
+ "block_size": 32,
103
+ "is_symmetric": true,
104
+ "accuracy_level": null
105
+ },
106
+ "bnb4": {
107
+ "block_size": 64,
108
+ "quant_type": 1
109
+ }
110
+ }
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