Xenova HF staff commited on
Commit
846cfc7
1 Parent(s): 07b5256

Upload folder using huggingface_hub

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