julien-c HF staff commited on
Commit
eb88277
1 Parent(s): c49b8b8

Upload 17 files

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