Xenova HF staff commited on
Commit
04c3d92
1 Parent(s): 14c76bf

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-en-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
+ 58100
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": 58100,
26
+ "decoder_vocab_size": 58101,
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
+ "gradient_checkpointing": false,
35
+ "id2label": {
36
+ "0": "LABEL_0",
37
+ "1": "LABEL_1",
38
+ "2": "LABEL_2"
39
+ },
40
+ "init_std": 0.02,
41
+ "is_encoder_decoder": true,
42
+ "label2id": {
43
+ "LABEL_0": 0,
44
+ "LABEL_1": 1,
45
+ "LABEL_2": 2
46
+ },
47
+ "max_length": 512,
48
+ "max_position_embeddings": 512,
49
+ "model_type": "marian",
50
+ "normalize_before": false,
51
+ "normalize_embedding": false,
52
+ "num_beams": 4,
53
+ "num_hidden_layers": 6,
54
+ "pad_token_id": 58100,
55
+ "scale_embedding": true,
56
+ "share_encoder_decoder_embeddings": true,
57
+ "static_position_embeddings": true,
58
+ "transformers_version": "4.32.0.dev0",
59
+ "use_cache": true,
60
+ "vocab_size": 58101
61
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bad_words_ids": [
4
+ [
5
+ 58100
6
+ ]
7
+ ],
8
+ "bos_token_id": 0,
9
+ "decoder_start_token_id": 58100,
10
+ "eos_token_id": 0,
11
+ "forced_eos_token_id": 0,
12
+ "max_length": 512,
13
+ "num_beams": 4,
14
+ "pad_token_id": 58100,
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:b89e5396c0b6862b687a562cae33b431ce5567842531ac5c0c32d170ccb1e1a1
3
+ size 340435660
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f441e29e613e354d548fa8b3a389f624b807bc40cebde161fdeef390868ed9db
3
+ size 340671142
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbae2d8992d3fca2a22b4e3259e9dc746b21266f44fee68d051faff3d23da849
3
+ size 86692033
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80419ebbad2984c725ce20a84923110febe0307d35aff5c61874daa6b89b1ef5
3
+ size 86320677
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bcf2bac08eee3fafe46990ff70b8d6ce99d19599c0c697d56ed9afc3febd3ea
3
+ size 327785151
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a665756e6531732ed79140ab2dac107197a175cdfb5d5787f1bca1a30e5289fc
3
+ size 83049213
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21bd75239e95412a523b993467781d902d4b14e86e49422ffabfe48e15ed3ca1
3
+ size 195807020
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15834b45fabd2dfb8c6c029b3ca3e7289aeefd90ece798ce42bcf548d1bd3b8d
3
+ size 49366942
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
+ "Expand",
8
+ "Where",
9
+ "ConstantOfShape",
10
+ "Shape",
11
+ "Cast",
12
+ "Equal",
13
+ "Pow",
14
+ "Range",
15
+ "Softmax",
16
+ "Unsqueeze",
17
+ "Reshape",
18
+ "MatMul",
19
+ "Sqrt",
20
+ "Add",
21
+ "Constant",
22
+ "ReduceMean",
23
+ "Mul",
24
+ "Gather",
25
+ "Sub",
26
+ "Concat",
27
+ "Transpose",
28
+ "Sigmoid",
29
+ "Div"
30
+ ],
31
+ "weight_type": "QInt8"
32
+ },
33
+ "decoder_with_past_model": {
34
+ "op_types": [
35
+ "Expand",
36
+ "Where",
37
+ "ConstantOfShape",
38
+ "Shape",
39
+ "Cast",
40
+ "Equal",
41
+ "Pow",
42
+ "Range",
43
+ "Softmax",
44
+ "Unsqueeze",
45
+ "Reshape",
46
+ "MatMul",
47
+ "Sqrt",
48
+ "Add",
49
+ "Constant",
50
+ "ReduceMean",
51
+ "Mul",
52
+ "Gather",
53
+ "Sub",
54
+ "Concat",
55
+ "Transpose",
56
+ "Sigmoid",
57
+ "Div"
58
+ ],
59
+ "weight_type": "QInt8"
60
+ },
61
+ "decoder_model": {
62
+ "op_types": [
63
+ "Expand",
64
+ "Where",
65
+ "ConstantOfShape",
66
+ "Shape",
67
+ "Cast",
68
+ "Less",
69
+ "Equal",
70
+ "Pow",
71
+ "Range",
72
+ "Slice",
73
+ "Softmax",
74
+ "Unsqueeze",
75
+ "Squeeze",
76
+ "Reshape",
77
+ "MatMul",
78
+ "Sqrt",
79
+ "Add",
80
+ "Constant",
81
+ "ReduceMean",
82
+ "Mul",
83
+ "Gather",
84
+ "Sub",
85
+ "Concat",
86
+ "Transpose",
87
+ "Sigmoid",
88
+ "Div"
89
+ ],
90
+ "weight_type": "QInt8"
91
+ },
92
+ "decoder_model_merged": {
93
+ "op_types": [
94
+ "Expand",
95
+ "Where",
96
+ "ConstantOfShape",
97
+ "Shape",
98
+ "Cast",
99
+ "Less",
100
+ "Equal",
101
+ "Pow",
102
+ "Range",
103
+ "If",
104
+ "Slice",
105
+ "Softmax",
106
+ "Unsqueeze",
107
+ "Squeeze",
108
+ "Reshape",
109
+ "MatMul",
110
+ "Sqrt",
111
+ "Add",
112
+ "Constant",
113
+ "ReduceMean",
114
+ "Mul",
115
+ "Gather",
116
+ "Sub",
117
+ "Concat",
118
+ "Transpose",
119
+ "Sigmoid",
120
+ "Div"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (768 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 (797 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": "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