Xenova HF staff commited on
Commit
6676850
·
1 Parent(s): f5a9cd0

Upload folder using huggingface_hub

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