Xenova HF staff commited on
Commit
79be8a7
1 Parent(s): 378a199

Upload folder using huggingface_hub

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