Xenova HF staff commited on
Commit
019b264
·
1 Parent(s): 5f03375

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-fr-de",
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.32.0.dev0",
58
+ "use_cache": true,
59
+ "vocab_size": 61153
60
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bad_words_ids": [
4
+ [
5
+ 61152
6
+ ]
7
+ ],
8
+ "bos_token_id": 0,
9
+ "decoder_start_token_id": 61152,
10
+ "eos_token_id": 0,
11
+ "forced_eos_token_id": 0,
12
+ "max_length": 512,
13
+ "num_beams": 4,
14
+ "pad_token_id": 61152,
15
+ "transformers_version": "4.32.0.dev0"
16
+ }
onnx/decoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc555a6f1b7a383209298937dcb03a9abd6a37bed7033b5b8dafba3a0a8dfb5b
3
+ size 352948860
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dfb6e4d047b19678ba162e0ecc384e384b62c05797a9c5a414f91d89d0c638e
3
+ size 353184342
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3d2ad2fa2095736bc7b83dea2da555d8e4071c5e54a45837af7e1517f30bda4
3
+ size 89844749
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15b3f009f8f25662c7017df9c1995e0cbd288bf8e6005f6ddf2d54758119410d
3
+ size 89473393
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebd4c5b8bd57fab2e9d925f687774b5c8a67932eb81a0133fd7367412b2def99
3
+ size 340298351
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5cd6994449346d50a477173c14a6e4a5862f6778ab1812d26ced67b63dc493c1
3
+ size 86201929
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b3de904c90dee49c87302aab2146ef7b7e2c0eacbb020ae31c3d90519037f4e
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:76e81a715482c10d25fe3cbfe1129b236adcdc75bac4d9cee37bc97dc61ee8dd
3
+ size 50929566
quantize_config.json ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "encoder_model": {
6
+ "op_types": [
7
+ "Equal",
8
+ "Gather",
9
+ "Sub",
10
+ "Cast",
11
+ "Expand",
12
+ "MatMul",
13
+ "ConstantOfShape",
14
+ "Sigmoid",
15
+ "Concat",
16
+ "Shape",
17
+ "Pow",
18
+ "Mul",
19
+ "Add",
20
+ "Softmax",
21
+ "Range",
22
+ "Constant",
23
+ "Sqrt",
24
+ "Reshape",
25
+ "Where",
26
+ "ReduceMean",
27
+ "Div",
28
+ "Unsqueeze",
29
+ "Transpose"
30
+ ],
31
+ "weight_type": "QInt8"
32
+ },
33
+ "decoder_with_past_model": {
34
+ "op_types": [
35
+ "Equal",
36
+ "Gather",
37
+ "Sub",
38
+ "Cast",
39
+ "Expand",
40
+ "MatMul",
41
+ "ConstantOfShape",
42
+ "Sigmoid",
43
+ "Concat",
44
+ "Shape",
45
+ "Pow",
46
+ "Mul",
47
+ "Add",
48
+ "Softmax",
49
+ "Range",
50
+ "Constant",
51
+ "Sqrt",
52
+ "Reshape",
53
+ "Where",
54
+ "ReduceMean",
55
+ "Div",
56
+ "Unsqueeze",
57
+ "Transpose"
58
+ ],
59
+ "weight_type": "QInt8"
60
+ },
61
+ "decoder_model": {
62
+ "op_types": [
63
+ "Equal",
64
+ "Slice",
65
+ "Gather",
66
+ "Sub",
67
+ "Cast",
68
+ "Expand",
69
+ "MatMul",
70
+ "ConstantOfShape",
71
+ "Sigmoid",
72
+ "Squeeze",
73
+ "Concat",
74
+ "Shape",
75
+ "Less",
76
+ "Pow",
77
+ "Mul",
78
+ "Add",
79
+ "Softmax",
80
+ "Range",
81
+ "Constant",
82
+ "Sqrt",
83
+ "Reshape",
84
+ "Where",
85
+ "ReduceMean",
86
+ "Div",
87
+ "Unsqueeze",
88
+ "Transpose"
89
+ ],
90
+ "weight_type": "QInt8"
91
+ },
92
+ "decoder_model_merged": {
93
+ "op_types": [
94
+ "If",
95
+ "Equal",
96
+ "Slice",
97
+ "Gather",
98
+ "Sub",
99
+ "Cast",
100
+ "Expand",
101
+ "MatMul",
102
+ "ConstantOfShape",
103
+ "Sigmoid",
104
+ "Squeeze",
105
+ "Concat",
106
+ "Shape",
107
+ "Less",
108
+ "Pow",
109
+ "Mul",
110
+ "Add",
111
+ "Softmax",
112
+ "Range",
113
+ "Constant",
114
+ "Sqrt",
115
+ "Reshape",
116
+ "Where",
117
+ "ReduceMean",
118
+ "Div",
119
+ "Unsqueeze",
120
+ "Transpose"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (812 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 (828 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": "fr",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "de",
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