Xenova HF staff commited on
Commit
9397274
1 Parent(s): f147bbf

Upload folder using huggingface_hub

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