Xenova HF staff commited on
Commit
48633af
·
1 Parent(s): 157c9bc

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-fi-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
+ 59470
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": 59470,
26
+ "decoder_vocab_size": 59471,
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": 59470,
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": 59471
60
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bad_words_ids": [
4
+ [
5
+ 59470
6
+ ]
7
+ ],
8
+ "bos_token_id": 0,
9
+ "decoder_start_token_id": 59470,
10
+ "eos_token_id": 0,
11
+ "forced_eos_token_id": 0,
12
+ "max_length": 512,
13
+ "num_beams": 4,
14
+ "pad_token_id": 59470,
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:fdfe119e8c1bf8c3cceab6266c20be9f4902ff99b93ab64c702fa68891c09b85
3
+ size 346052660
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f518161bccd0e4fdd4026fb8c0798ae2311e5538e6d44cb33b35c853674b77c
3
+ size 346288142
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8724d1ce7facad32a4aab3f9bf9df09cfdc1d1f230af3629f611d0ce32d04ea
3
+ size 88107243
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28a0ab81b6ba98c744a00b73295e45c3ceff64d0f311eb2b2a9edf19152696fe
3
+ size 87735887
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cbbc3bc23d6b8fc48e84cb4423b71bdf4ebaef6c9d91ef93b335dd30cc7fed0
3
+ size 333402151
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1926c2fe68fa4cfedd5ff21e6e6bbd2e8e95ebcce1def7530e0d2174982987b5
3
+ size 84464423
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:670ed584bda75688aae7a462dfb5d3829c4c3a15ea40810493aad18120fe3727
3
+ size 198612780
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14aeff0fe87fa21b9eb39f9026f9bc69f191f3f8fdb903ab4328750c9e7b06ca
3
+ size 50068382
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
+ "ConstantOfShape",
8
+ "Constant",
9
+ "Expand",
10
+ "Transpose",
11
+ "Cast",
12
+ "Add",
13
+ "Unsqueeze",
14
+ "Div",
15
+ "Sub",
16
+ "Pow",
17
+ "MatMul",
18
+ "Mul",
19
+ "Sigmoid",
20
+ "ReduceMean",
21
+ "Range",
22
+ "Shape",
23
+ "Equal",
24
+ "Where",
25
+ "Sqrt",
26
+ "Concat",
27
+ "Gather",
28
+ "Softmax",
29
+ "Reshape"
30
+ ],
31
+ "weight_type": "QInt8"
32
+ },
33
+ "decoder_with_past_model": {
34
+ "op_types": [
35
+ "ConstantOfShape",
36
+ "Constant",
37
+ "Expand",
38
+ "Transpose",
39
+ "Cast",
40
+ "Add",
41
+ "Unsqueeze",
42
+ "Div",
43
+ "Sub",
44
+ "Pow",
45
+ "MatMul",
46
+ "Mul",
47
+ "Sigmoid",
48
+ "ReduceMean",
49
+ "Range",
50
+ "Shape",
51
+ "Equal",
52
+ "Where",
53
+ "Sqrt",
54
+ "Concat",
55
+ "Gather",
56
+ "Softmax",
57
+ "Reshape"
58
+ ],
59
+ "weight_type": "QInt8"
60
+ },
61
+ "decoder_model": {
62
+ "op_types": [
63
+ "ConstantOfShape",
64
+ "Slice",
65
+ "Constant",
66
+ "Expand",
67
+ "Transpose",
68
+ "Cast",
69
+ "Add",
70
+ "Squeeze",
71
+ "Unsqueeze",
72
+ "Less",
73
+ "Div",
74
+ "Sub",
75
+ "Pow",
76
+ "MatMul",
77
+ "Mul",
78
+ "Sigmoid",
79
+ "ReduceMean",
80
+ "Range",
81
+ "Shape",
82
+ "Equal",
83
+ "Where",
84
+ "Sqrt",
85
+ "Concat",
86
+ "Gather",
87
+ "Softmax",
88
+ "Reshape"
89
+ ],
90
+ "weight_type": "QInt8"
91
+ },
92
+ "decoder_model_merged": {
93
+ "op_types": [
94
+ "ConstantOfShape",
95
+ "Slice",
96
+ "Constant",
97
+ "Expand",
98
+ "Transpose",
99
+ "Cast",
100
+ "Add",
101
+ "Squeeze",
102
+ "Unsqueeze",
103
+ "Less",
104
+ "Div",
105
+ "Sub",
106
+ "Pow",
107
+ "MatMul",
108
+ "Mul",
109
+ "Sigmoid",
110
+ "ReduceMean",
111
+ "Range",
112
+ "Shape",
113
+ "Equal",
114
+ "Where",
115
+ "Sqrt",
116
+ "Concat",
117
+ "Gather",
118
+ "If",
119
+ "Softmax",
120
+ "Reshape"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (846 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 (830 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": "fi",
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