Xenova HF staff commited on
Commit
46368e5
1 Parent(s): 4a81ed3

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
+ source.spm filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-ru-fr",
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
+ 64376
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": 64376,
26
+ "decoder_vocab_size": 64377,
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": 6,
53
+ "num_hidden_layers": 6,
54
+ "pad_token_id": 64376,
55
+ "scale_embedding": true,
56
+ "share_encoder_decoder_embeddings": true,
57
+ "static_position_embeddings": true,
58
+ "transformers_version": "4.34.0.dev0",
59
+ "use_cache": true,
60
+ "vocab_size": 64377
61
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 64376
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 64376,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 6,
13
+ "pad_token_id": 64376,
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:10f25ed27a5f67a2dd66e5a03e40e0415bd828e8fb337314b41f672e747c5004
3
+ size 234323221
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bafd9318c091e5df3e3c4613ae8bcee9be2f171eba78d694fe1e78e39349ad78
3
+ size 234558788
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d25927b7b8f58d46b69782193a55663f5738af397734c834249840c835d51eb
3
+ size 59890819
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8f1f437256cb56d639bea3010ef74f547d847dc64575d5bf5addd31026bec
3
+ size 59520117
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:940a27922fc4376bb387564cfba018e49d686cdab566a52903f38e2ac7f3029f
3
+ size 221672712
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56848cfde01346cf67dbde9bdb1b276f1ba33fddb436b6aecfb1efb6e38264b4
3
+ size 56248653
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:625a472a285a471dd1850959a4f3065cfaf8b076f50cb32aff6f6d6f98feb884
3
+ size 208660268
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b2801424d0f56825cee08950e945189444d08773131c2e3386a71ce1f87fc72
3
+ size 52580253
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
+ "Div",
8
+ "Sub",
9
+ "Equal",
10
+ "Softmax",
11
+ "Gather",
12
+ "Sqrt",
13
+ "Transpose",
14
+ "Shape",
15
+ "Add",
16
+ "Unsqueeze",
17
+ "Concat",
18
+ "Reshape",
19
+ "Constant",
20
+ "Sigmoid",
21
+ "MatMul",
22
+ "ConstantOfShape",
23
+ "Cast",
24
+ "Mul",
25
+ "ReduceMean",
26
+ "Range",
27
+ "Expand",
28
+ "Where",
29
+ "Pow"
30
+ ],
31
+ "weight_type": "QInt8"
32
+ },
33
+ "decoder_with_past_model": {
34
+ "op_types": [
35
+ "Div",
36
+ "Sub",
37
+ "Equal",
38
+ "Softmax",
39
+ "Gather",
40
+ "Sqrt",
41
+ "Transpose",
42
+ "Shape",
43
+ "Add",
44
+ "Unsqueeze",
45
+ "Concat",
46
+ "Reshape",
47
+ "Constant",
48
+ "Sigmoid",
49
+ "MatMul",
50
+ "ConstantOfShape",
51
+ "Cast",
52
+ "Mul",
53
+ "ReduceMean",
54
+ "Range",
55
+ "Expand",
56
+ "Where",
57
+ "Pow"
58
+ ],
59
+ "weight_type": "QInt8"
60
+ },
61
+ "decoder_model_merged": {
62
+ "op_types": [
63
+ "Div",
64
+ "Sub",
65
+ "Equal",
66
+ "Softmax",
67
+ "Gather",
68
+ "Sqrt",
69
+ "Transpose",
70
+ "Less",
71
+ "Shape",
72
+ "Add",
73
+ "If",
74
+ "Unsqueeze",
75
+ "Concat",
76
+ "Reshape",
77
+ "Constant",
78
+ "Sigmoid",
79
+ "MatMul",
80
+ "ConstantOfShape",
81
+ "Squeeze",
82
+ "Cast",
83
+ "Mul",
84
+ "ReduceMean",
85
+ "Range",
86
+ "Slice",
87
+ "Expand",
88
+ "Where",
89
+ "Pow"
90
+ ],
91
+ "weight_type": "QInt8"
92
+ },
93
+ "decoder_model": {
94
+ "op_types": [
95
+ "Div",
96
+ "Sub",
97
+ "Equal",
98
+ "Softmax",
99
+ "Gather",
100
+ "Sqrt",
101
+ "Transpose",
102
+ "Less",
103
+ "Shape",
104
+ "Add",
105
+ "Unsqueeze",
106
+ "Concat",
107
+ "Reshape",
108
+ "Constant",
109
+ "Sigmoid",
110
+ "MatMul",
111
+ "ConstantOfShape",
112
+ "Squeeze",
113
+ "Cast",
114
+ "Mul",
115
+ "ReduceMean",
116
+ "Range",
117
+ "Slice",
118
+ "Expand",
119
+ "Where",
120
+ "Pow"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50a16a6e7a21936d7a5cd1764c61364660353e2cebb2ed78e55b97bd74e85771
3
+ size 1063848
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 (821 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": "ru",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "fr",
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