Xenova HF staff commited on
Commit
7a707ba
1 Parent(s): 85be5aa

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sshleifer/distilbart-xsum-9-6",
3
+ "_num_labels": 3,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "gelu",
6
+ "add_bias_logits": false,
7
+ "add_final_layer_norm": false,
8
+ "architectures": [
9
+ "BartForConditionalGeneration"
10
+ ],
11
+ "attention_dropout": 0.0,
12
+ "bos_token_id": 0,
13
+ "classif_dropout": 0.0,
14
+ "classifier_dropout": 0.0,
15
+ "d_model": 1024,
16
+ "decoder_attention_heads": 16,
17
+ "decoder_ffn_dim": 4096,
18
+ "decoder_layerdrop": 0.0,
19
+ "decoder_layers": 6,
20
+ "decoder_start_token_id": 2,
21
+ "dropout": 0.1,
22
+ "early_stopping": true,
23
+ "encoder_attention_heads": 16,
24
+ "encoder_ffn_dim": 4096,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 9,
27
+ "eos_token_id": 2,
28
+ "eos_token_ids": [
29
+ 2
30
+ ],
31
+ "extra_pos_embeddings": 2,
32
+ "forced_eos_token_id": 2,
33
+ "gradient_checkpointing": false,
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
+ "length_penalty": 0.5,
47
+ "max_length": 62,
48
+ "max_position_embeddings": 1024,
49
+ "min_length": 11,
50
+ "model_type": "bart",
51
+ "no_repeat_ngram_size": 3,
52
+ "normalize_before": false,
53
+ "normalize_embedding": true,
54
+ "num_beams": 6,
55
+ "num_hidden_layers": 9,
56
+ "output_past": true,
57
+ "pad_token_id": 1,
58
+ "prefix": " ",
59
+ "replacing_rate": 0,
60
+ "scale_embedding": false,
61
+ "static_position_embeddings": false,
62
+ "student_decoder_layers": null,
63
+ "student_encoder_layers": null,
64
+ "transformers_version": "4.34.0.dev0",
65
+ "use_cache": true,
66
+ "vocab_size": 50264
67
+ }
generation_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 2,
5
+ "early_stopping": true,
6
+ "eos_token_id": 2,
7
+ "forced_eos_token_id": 2,
8
+ "length_penalty": 0.5,
9
+ "max_length": 62,
10
+ "min_length": 11,
11
+ "no_repeat_ngram_size": 3,
12
+ "num_beams": 6,
13
+ "pad_token_id": 1,
14
+ "transformers_version": "4.34.0.dev0"
15
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
onnx/decoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fe1a4831b675151c1d0c43ebaa92ac3e8d2f06b98bbbc71c9569b7d33221694
3
+ size 613700175
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d66958b716efd1cf47190c77e7af5ce31dcff961fbb7bcb03cbf9230aa9cded
3
+ size 613946766
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f1fee5003d67b4854918f66ea522caa776c59f721e7a8dc46e99376b47c8e00
3
+ size 155102167
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a256655c067822035eee3c310608c3465164871c3e5e3bc5f35d7e0599663adb
3
+ size 154715574
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c6853f986afe80c8bcd231c46afc75a40855f9aef73155813b2034b91fbaa9e
3
+ size 563276824
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c5220b05213e8ae815e2617a24c0eb43ac6426330fca37cf818be70031b13ee
3
+ size 141952254
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c5e95d984fc8c82a807ba9b3fb55aa576e3c0f85d31538762402f6cbdaee298
3
+ size 663731026
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da0bc340349f9db8c088b9b454058f1d1c36d12dda6a95dd3fa0f07f0447b3ae
3
+ size 166959349
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
+ "Where",
8
+ "Pow",
9
+ "Sub",
10
+ "Concat",
11
+ "Range",
12
+ "Div",
13
+ "Cast",
14
+ "Softmax",
15
+ "ConstantOfShape",
16
+ "Erf",
17
+ "Squeeze",
18
+ "Transpose",
19
+ "Mul",
20
+ "Add",
21
+ "Constant",
22
+ "Shape",
23
+ "Equal",
24
+ "Sqrt",
25
+ "ReduceMean",
26
+ "Reshape",
27
+ "MatMul",
28
+ "Gather",
29
+ "Less",
30
+ "Expand",
31
+ "Unsqueeze",
32
+ "Slice"
33
+ ],
34
+ "weight_type": "QInt8"
35
+ },
36
+ "encoder_model": {
37
+ "op_types": [
38
+ "Where",
39
+ "Pow",
40
+ "Sub",
41
+ "Concat",
42
+ "Range",
43
+ "Div",
44
+ "Cast",
45
+ "Softmax",
46
+ "ConstantOfShape",
47
+ "Erf",
48
+ "Transpose",
49
+ "Mul",
50
+ "Add",
51
+ "Constant",
52
+ "Shape",
53
+ "Equal",
54
+ "Sqrt",
55
+ "ReduceMean",
56
+ "Reshape",
57
+ "MatMul",
58
+ "Gather",
59
+ "Expand",
60
+ "Unsqueeze"
61
+ ],
62
+ "weight_type": "QInt8"
63
+ },
64
+ "decoder_model_merged": {
65
+ "op_types": [
66
+ "Where",
67
+ "Pow",
68
+ "Sub",
69
+ "Concat",
70
+ "Range",
71
+ "Div",
72
+ "Cast",
73
+ "Softmax",
74
+ "ConstantOfShape",
75
+ "Erf",
76
+ "Squeeze",
77
+ "Transpose",
78
+ "Mul",
79
+ "Add",
80
+ "Constant",
81
+ "Shape",
82
+ "Equal",
83
+ "If",
84
+ "Sqrt",
85
+ "ReduceMean",
86
+ "Reshape",
87
+ "MatMul",
88
+ "Gather",
89
+ "Less",
90
+ "Expand",
91
+ "Unsqueeze",
92
+ "Slice"
93
+ ],
94
+ "weight_type": "QInt8"
95
+ },
96
+ "decoder_with_past_model": {
97
+ "op_types": [
98
+ "Where",
99
+ "Pow",
100
+ "Sub",
101
+ "Concat",
102
+ "Range",
103
+ "Div",
104
+ "Cast",
105
+ "Softmax",
106
+ "ConstantOfShape",
107
+ "Erf",
108
+ "Transpose",
109
+ "Mul",
110
+ "Add",
111
+ "Constant",
112
+ "Shape",
113
+ "Equal",
114
+ "Sqrt",
115
+ "ReduceMean",
116
+ "Reshape",
117
+ "MatMul",
118
+ "Gather",
119
+ "Expand",
120
+ "Unsqueeze"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": {
4
+ "__type": "AddedToken",
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "clean_up_tokenization_spaces": true,
12
+ "cls_token": {
13
+ "__type": "AddedToken",
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "eos_token": {
21
+ "__type": "AddedToken",
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": true,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ },
28
+ "errors": "replace",
29
+ "mask_token": {
30
+ "__type": "AddedToken",
31
+ "content": "<mask>",
32
+ "lstrip": true,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "model_max_length": 1024,
38
+ "pad_token": {
39
+ "__type": "AddedToken",
40
+ "content": "<pad>",
41
+ "lstrip": false,
42
+ "normalized": true,
43
+ "rstrip": false,
44
+ "single_word": false
45
+ },
46
+ "sep_token": {
47
+ "__type": "AddedToken",
48
+ "content": "</s>",
49
+ "lstrip": false,
50
+ "normalized": true,
51
+ "rstrip": false,
52
+ "single_word": false
53
+ },
54
+ "tokenizer_class": "BartTokenizer",
55
+ "trim_offsets": true,
56
+ "unk_token": {
57
+ "__type": "AddedToken",
58
+ "content": "<unk>",
59
+ "lstrip": false,
60
+ "normalized": true,
61
+ "rstrip": false,
62
+ "single_word": false
63
+ }
64
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff