Xenova HF staff commited on
Commit
3fc333c
1 Parent(s): a56f334

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ target.spm filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-es-ru",
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
+ 63429
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": 63429,
26
+ "decoder_vocab_size": 63430,
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": 63429,
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": 63430
60
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 63429
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 63429,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 63429,
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:ed188ea2d8c771265943c40dd39184d0e05861df9cc921ed2ac958e0ab0fff1e
3
+ size 232379977
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8b0bf7f60bedcaab13ec55b63b0d1a4879031c270cb058ff77e429591aaa30f
3
+ size 232615544
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70fed4fafbc55053da784680b37745224210da4678fbaf69d92c1f6dec3f4e00
3
+ size 59402168
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:648cc96da4127a7ad9623e0d7f6da5c103a4438c64c697cb4fe9ff76148f7819
3
+ size 59031466
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bb60df8ce525400d8b6f9938162dca7f5f4954cd45595d466d7b95d3504f3df
3
+ size 219729468
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e45661b741c29deffac10e90913b2ce2810b11669c9124b3a79410eeab5f3f02
3
+ size 55760002
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f698a369ce35d03aeba0db4428cd767d60a98bf245b9317f2abb5abd476a34c7
3
+ size 206720812
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04702c95f2380c074b9458735fffe44b095ef1a7632f0e13a7f7c7440d995241
3
+ size 52095390
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
+ "Cast",
8
+ "Shape",
9
+ "Squeeze",
10
+ "Slice",
11
+ "Sqrt",
12
+ "Gather",
13
+ "Expand",
14
+ "Transpose",
15
+ "ConstantOfShape",
16
+ "Where",
17
+ "Softmax",
18
+ "Reshape",
19
+ "Mul",
20
+ "Equal",
21
+ "Add",
22
+ "Unsqueeze",
23
+ "Range",
24
+ "Pow",
25
+ "Constant",
26
+ "Div",
27
+ "Less",
28
+ "Sigmoid",
29
+ "Sub",
30
+ "Concat",
31
+ "ReduceMean",
32
+ "MatMul"
33
+ ],
34
+ "weight_type": "QInt8"
35
+ },
36
+ "encoder_model": {
37
+ "op_types": [
38
+ "Cast",
39
+ "Shape",
40
+ "Sqrt",
41
+ "Gather",
42
+ "Expand",
43
+ "Transpose",
44
+ "ConstantOfShape",
45
+ "Where",
46
+ "Softmax",
47
+ "Reshape",
48
+ "Mul",
49
+ "Equal",
50
+ "Add",
51
+ "Unsqueeze",
52
+ "Range",
53
+ "Pow",
54
+ "Constant",
55
+ "Div",
56
+ "Sigmoid",
57
+ "Sub",
58
+ "Concat",
59
+ "ReduceMean",
60
+ "MatMul"
61
+ ],
62
+ "weight_type": "QInt8"
63
+ },
64
+ "decoder_model_merged": {
65
+ "op_types": [
66
+ "Cast",
67
+ "Shape",
68
+ "Squeeze",
69
+ "Slice",
70
+ "Sqrt",
71
+ "Gather",
72
+ "Expand",
73
+ "Transpose",
74
+ "ConstantOfShape",
75
+ "If",
76
+ "Where",
77
+ "Softmax",
78
+ "Reshape",
79
+ "Mul",
80
+ "Equal",
81
+ "Add",
82
+ "Unsqueeze",
83
+ "Range",
84
+ "Pow",
85
+ "Constant",
86
+ "Div",
87
+ "Less",
88
+ "Sigmoid",
89
+ "Sub",
90
+ "Concat",
91
+ "ReduceMean",
92
+ "MatMul"
93
+ ],
94
+ "weight_type": "QInt8"
95
+ },
96
+ "decoder_with_past_model": {
97
+ "op_types": [
98
+ "Cast",
99
+ "Shape",
100
+ "Sqrt",
101
+ "Expand",
102
+ "Gather",
103
+ "Transpose",
104
+ "ConstantOfShape",
105
+ "Where",
106
+ "Softmax",
107
+ "Reshape",
108
+ "Mul",
109
+ "Add",
110
+ "Equal",
111
+ "Unsqueeze",
112
+ "Range",
113
+ "Pow",
114
+ "Constant",
115
+ "Div",
116
+ "Sigmoid",
117
+ "Sub",
118
+ "Concat",
119
+ "ReduceMean",
120
+ "MatMul"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (829 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
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:581d0ce357f10ff41e4ab32b5771068257470676ec0d555ba73f36e7e7a1c99c
3
+ size 1060731
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": "es",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "ru",
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