Xenova HF staff commited on
Commit
3f68332
1 Parent(s): 82bf9fe

Upload folder using huggingface_hub

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