Xenova HF staff commited on
Commit
c2d16b1
1 Parent(s): f91a89f

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-fi-en",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "swish",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "MarianMTModel"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bad_words_ids": [
12
+ [
13
+ 59658
14
+ ]
15
+ ],
16
+ "bos_token_id": 0,
17
+ "classif_dropout": 0.0,
18
+ "classifier_dropout": 0.0,
19
+ "d_model": 512,
20
+ "decoder_attention_heads": 8,
21
+ "decoder_ffn_dim": 2048,
22
+ "decoder_layerdrop": 0.0,
23
+ "decoder_layers": 6,
24
+ "decoder_start_token_id": 59658,
25
+ "decoder_vocab_size": 59659,
26
+ "dropout": 0.1,
27
+ "encoder_attention_heads": 8,
28
+ "encoder_ffn_dim": 2048,
29
+ "encoder_layerdrop": 0.0,
30
+ "encoder_layers": 6,
31
+ "eos_token_id": 0,
32
+ "extra_pos_embeddings": 59659,
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": 59658,
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": 59659
60
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bad_words_ids": [
4
+ [
5
+ 59658
6
+ ]
7
+ ],
8
+ "bos_token_id": 0,
9
+ "decoder_start_token_id": 59658,
10
+ "eos_token_id": 0,
11
+ "forced_eos_token_id": 0,
12
+ "max_length": 512,
13
+ "num_beams": 4,
14
+ "pad_token_id": 59658,
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:c21ddec614eb3574f8e3e7695b6f09ca7f951f11651bcbd3ff95fad7539f7674
3
+ size 346823460
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7033514f44ad11df79a413c7712770d9c78a55ff8ccbc2135c96f9a899d2e17
3
+ size 347058942
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31cc5c9a21a3d1a7aaf4ee7b910cb9c0889741ae4a6f39382c4371619f9de174
3
+ size 88301447
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcb60a4ce766ea92c59f3257932381d77d95d2022bf2829bb2c4a9107644d260
3
+ size 87930091
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:228a2e5fa7e6e548e0d762a8bcbd922b79621e375c675949a59535f658e5cd05
3
+ size 334172951
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1596dabcdc4b0c8836a0310cfc1072ce20d9797e8c8f9806d1ced4c416dcd3d8
3
+ size 84658627
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52046f14da1415b1ca24a1f093495184e7aa2f6cac1a5e3e2c9c9ada3c1cbbca
3
+ size 198997804
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3891d400cfe8693a6f590078302dabc15cbc7289e194a9261d90eceee573dc82
3
+ size 50164638
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
+ "Pow",
8
+ "Unsqueeze",
9
+ "Softmax",
10
+ "Sigmoid",
11
+ "Sqrt",
12
+ "MatMul",
13
+ "Where",
14
+ "Cast",
15
+ "Transpose",
16
+ "Mul",
17
+ "Shape",
18
+ "Equal",
19
+ "Constant",
20
+ "Gather",
21
+ "Div",
22
+ "ConstantOfShape",
23
+ "Range",
24
+ "Add",
25
+ "ReduceMean",
26
+ "Reshape",
27
+ "Sub",
28
+ "Expand",
29
+ "Concat"
30
+ ],
31
+ "weight_type": "QInt8"
32
+ },
33
+ "decoder_with_past_model": {
34
+ "op_types": [
35
+ "Pow",
36
+ "Unsqueeze",
37
+ "Softmax",
38
+ "Sigmoid",
39
+ "Sqrt",
40
+ "MatMul",
41
+ "Where",
42
+ "Cast",
43
+ "Transpose",
44
+ "Mul",
45
+ "Shape",
46
+ "Equal",
47
+ "Constant",
48
+ "Gather",
49
+ "Div",
50
+ "ConstantOfShape",
51
+ "Range",
52
+ "Add",
53
+ "ReduceMean",
54
+ "Reshape",
55
+ "Sub",
56
+ "Expand",
57
+ "Concat"
58
+ ],
59
+ "weight_type": "QInt8"
60
+ },
61
+ "decoder_model": {
62
+ "op_types": [
63
+ "Pow",
64
+ "Unsqueeze",
65
+ "Slice",
66
+ "Softmax",
67
+ "Sigmoid",
68
+ "Sqrt",
69
+ "MatMul",
70
+ "Where",
71
+ "Cast",
72
+ "Transpose",
73
+ "Mul",
74
+ "Shape",
75
+ "Equal",
76
+ "Constant",
77
+ "Less",
78
+ "Gather",
79
+ "Div",
80
+ "ConstantOfShape",
81
+ "Range",
82
+ "Squeeze",
83
+ "Add",
84
+ "ReduceMean",
85
+ "Reshape",
86
+ "Sub",
87
+ "Expand",
88
+ "Concat"
89
+ ],
90
+ "weight_type": "QInt8"
91
+ },
92
+ "decoder_model_merged": {
93
+ "op_types": [
94
+ "Pow",
95
+ "Unsqueeze",
96
+ "Slice",
97
+ "Softmax",
98
+ "Sigmoid",
99
+ "Sqrt",
100
+ "MatMul",
101
+ "Where",
102
+ "Cast",
103
+ "Transpose",
104
+ "Mul",
105
+ "Shape",
106
+ "Equal",
107
+ "Constant",
108
+ "Less",
109
+ "Gather",
110
+ "Div",
111
+ "ConstantOfShape",
112
+ "Range",
113
+ "Squeeze",
114
+ "If",
115
+ "Add",
116
+ "ReduceMean",
117
+ "Reshape",
118
+ "Sub",
119
+ "Expand",
120
+ "Concat"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (832 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 (790 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": "fin",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "eng",
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