Xenova HF staff commited on
Commit
a415c16
1 Parent(s): 8c9832e

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-de-fr",
3
+ "_num_labels": 3,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "swish",
6
+ "add_bias_logits": false,
7
+ "add_final_layer_norm": false,
8
+ "architectures": [
9
+ "MarianMTModel"
10
+ ],
11
+ "attention_dropout": 0.0,
12
+ "bad_words_ids": [
13
+ [
14
+ 61152
15
+ ]
16
+ ],
17
+ "bos_token_id": 0,
18
+ "classif_dropout": 0.0,
19
+ "classifier_dropout": 0.0,
20
+ "d_model": 512,
21
+ "decoder_attention_heads": 8,
22
+ "decoder_ffn_dim": 2048,
23
+ "decoder_layerdrop": 0.0,
24
+ "decoder_layers": 6,
25
+ "decoder_start_token_id": 61152,
26
+ "decoder_vocab_size": 61153,
27
+ "dropout": 0.1,
28
+ "encoder_attention_heads": 8,
29
+ "encoder_ffn_dim": 2048,
30
+ "encoder_layerdrop": 0.0,
31
+ "encoder_layers": 6,
32
+ "eos_token_id": 0,
33
+ "forced_eos_token_id": 0,
34
+ "id2label": {
35
+ "0": "LABEL_0",
36
+ "1": "LABEL_1",
37
+ "2": "LABEL_2"
38
+ },
39
+ "init_std": 0.02,
40
+ "is_encoder_decoder": true,
41
+ "label2id": {
42
+ "LABEL_0": 0,
43
+ "LABEL_1": 1,
44
+ "LABEL_2": 2
45
+ },
46
+ "max_length": 512,
47
+ "max_position_embeddings": 512,
48
+ "model_type": "marian",
49
+ "normalize_before": false,
50
+ "normalize_embedding": false,
51
+ "num_beams": 4,
52
+ "num_hidden_layers": 6,
53
+ "pad_token_id": 61152,
54
+ "scale_embedding": true,
55
+ "share_encoder_decoder_embeddings": true,
56
+ "static_position_embeddings": true,
57
+ "transformers_version": "4.34.0.dev0",
58
+ "use_cache": true,
59
+ "vocab_size": 61153
60
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 61152
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 61152,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 61152,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.34.0.dev0"
16
+ }
onnx/decoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91ed24702dbee5feb181e480f0d93417f0045fa12dca0cc19393304b30726fb9
3
+ size 227707573
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97e763bd4cdabcb2bd3f8cd3a69055b7ce6715d62f21d322d877dc012062df72
3
+ size 227943140
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b834e8f8fc9c5159c36127fca1126224299848e04b8aa1f2936255ba339f435
3
+ size 58227235
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2e931b9e2bf5f53f5477da3d53e3ec7481a3f8918c86d01539b1f13f6e41189
3
+ size 57856533
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66a1ffd57213ed07ea7e3cc93363d6b0dc4ef32da9e8853e8aea4d13ab657fa7
3
+ size 215057064
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc9030c72da9b88b922ff2722f924115896240913637e107dce8fda2e40ef63d
3
+ size 54585069
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:affa70ea5de1a163f8c324aebc3e2448aff7a67c2a2a0da4a5cc78b6b041e00c
3
+ size 202057516
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90cba5278e60ad6be15594760e718135640185b041d5706cba7762ece724d489
3
+ size 50929565
quantize_config.json ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "decoder_model": {
6
+ "op_types": [
7
+ "Transpose",
8
+ "Div",
9
+ "ConstantOfShape",
10
+ "Unsqueeze",
11
+ "Mul",
12
+ "Constant",
13
+ "Range",
14
+ "Add",
15
+ "Equal",
16
+ "Concat",
17
+ "Cast",
18
+ "Squeeze",
19
+ "Reshape",
20
+ "Where",
21
+ "MatMul",
22
+ "Expand",
23
+ "Gather",
24
+ "Sigmoid",
25
+ "ReduceMean",
26
+ "Sqrt",
27
+ "Less",
28
+ "Sub",
29
+ "Softmax",
30
+ "Shape",
31
+ "Slice",
32
+ "Pow"
33
+ ],
34
+ "weight_type": "QInt8"
35
+ },
36
+ "encoder_model": {
37
+ "op_types": [
38
+ "Transpose",
39
+ "Div",
40
+ "ConstantOfShape",
41
+ "Unsqueeze",
42
+ "Mul",
43
+ "Constant",
44
+ "Range",
45
+ "Add",
46
+ "Equal",
47
+ "Concat",
48
+ "Cast",
49
+ "Reshape",
50
+ "Where",
51
+ "MatMul",
52
+ "Expand",
53
+ "Gather",
54
+ "Sigmoid",
55
+ "ReduceMean",
56
+ "Sqrt",
57
+ "Sub",
58
+ "Softmax",
59
+ "Shape",
60
+ "Pow"
61
+ ],
62
+ "weight_type": "QInt8"
63
+ },
64
+ "decoder_model_merged": {
65
+ "op_types": [
66
+ "Transpose",
67
+ "Div",
68
+ "ConstantOfShape",
69
+ "Unsqueeze",
70
+ "Mul",
71
+ "Constant",
72
+ "Range",
73
+ "Add",
74
+ "Equal",
75
+ "Concat",
76
+ "Cast",
77
+ "Squeeze",
78
+ "Reshape",
79
+ "Where",
80
+ "MatMul",
81
+ "Expand",
82
+ "Gather",
83
+ "Sigmoid",
84
+ "If",
85
+ "ReduceMean",
86
+ "Sqrt",
87
+ "Less",
88
+ "Sub",
89
+ "Softmax",
90
+ "Shape",
91
+ "Slice",
92
+ "Pow"
93
+ ],
94
+ "weight_type": "QInt8"
95
+ },
96
+ "decoder_with_past_model": {
97
+ "op_types": [
98
+ "Transpose",
99
+ "Div",
100
+ "ConstantOfShape",
101
+ "Unsqueeze",
102
+ "Mul",
103
+ "Constant",
104
+ "Range",
105
+ "Add",
106
+ "Equal",
107
+ "Concat",
108
+ "Cast",
109
+ "Reshape",
110
+ "Where",
111
+ "MatMul",
112
+ "Expand",
113
+ "Gather",
114
+ "Sigmoid",
115
+ "ReduceMean",
116
+ "Sqrt",
117
+ "Sub",
118
+ "Softmax",
119
+ "Shape",
120
+ "Pow"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (828 kB). View file
 
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
target.spm ADDED
Binary file (812 kB). View file
 
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "eos_token": "</s>",
4
+ "model_max_length": 512,
5
+ "pad_token": "<pad>",
6
+ "separate_vocabs": false,
7
+ "source_lang": "de",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "fr",
10
+ "tokenizer_class": "MarianTokenizer",
11
+ "unk_token": "<unk>"
12
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff