Xenova HF staff commited on
Commit
bcbeda2
1 Parent(s): e73dff1

Upload folder using huggingface_hub

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