Xenova HF staff commited on
Commit
a308665
1 Parent(s): 6b1fd8d

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sshleifer/distilbart-xsum-12-1",
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": 1,
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": 12,
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": 12,
56
+ "output_past": true,
57
+ "pad_token_id": 1,
58
+ "prefix": " ",
59
+ "replacing_rate": 0,
60
+ "save_step": 52,
61
+ "scale_embedding": false,
62
+ "static_position_embeddings": false,
63
+ "student_decoder_layers": null,
64
+ "student_encoder_layers": null,
65
+ "task_specific_params": {},
66
+ "transformers_version": "4.34.0.dev0",
67
+ "use_cache": true,
68
+ "vocab_size": 50264
69
+ }
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:395600dc3ffa9c4d7b7a00c4141979181552e6e3347a0ab0bb622c493abe8fb6
3
+ size 277541707
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20c7c05814be420f6f84c0b26221f28a4d28aa2a5652f5cb60f56cd697e3721e
3
+ size 277592301
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a37b0bb065e2e8d98e140b2ad27443c5b4e91428dae3a3856604a63b4747e87
3
+ size 69827486
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e49421456c37f9177e1cf92ecb065d087ca992de8353d56833c30b9d6218d1c
3
+ size 69748666
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddca85390362dc58928d5e53766388c8d94927283a7caa1935d63cd74493b694
3
+ size 269133200
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7d512f1f7b7ab27694d1d9a65b732e9d88e66ec030913aaba18df816a79e7ef
3
+ size 67614918
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f78768cc2dca525b9cc8418d26025532fb246408d86990fbeed0094d33fdd3ef
3
+ size 814942257
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b76633e637a65b021dad21df98b1dd1191808b8fd7ceb065ea9a4003c5a9a34
3
+ size 205100092
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
+ "MatMul",
8
+ "Slice",
9
+ "Add",
10
+ "Concat",
11
+ "Unsqueeze",
12
+ "Transpose",
13
+ "Erf",
14
+ "Constant",
15
+ "Squeeze",
16
+ "Expand",
17
+ "Where",
18
+ "Pow",
19
+ "Less",
20
+ "ReduceMean",
21
+ "Mul",
22
+ "Gather",
23
+ "Div",
24
+ "Softmax",
25
+ "Sub",
26
+ "Shape",
27
+ "Equal",
28
+ "Reshape",
29
+ "ConstantOfShape",
30
+ "Range",
31
+ "Sqrt",
32
+ "Cast"
33
+ ],
34
+ "weight_type": "QInt8"
35
+ },
36
+ "encoder_model": {
37
+ "op_types": [
38
+ "MatMul",
39
+ "Add",
40
+ "Concat",
41
+ "Unsqueeze",
42
+ "Transpose",
43
+ "Erf",
44
+ "Constant",
45
+ "Expand",
46
+ "Where",
47
+ "Pow",
48
+ "ReduceMean",
49
+ "Mul",
50
+ "Gather",
51
+ "Div",
52
+ "Softmax",
53
+ "Sub",
54
+ "Shape",
55
+ "Equal",
56
+ "Reshape",
57
+ "ConstantOfShape",
58
+ "Range",
59
+ "Sqrt",
60
+ "Cast"
61
+ ],
62
+ "weight_type": "QInt8"
63
+ },
64
+ "decoder_model_merged": {
65
+ "op_types": [
66
+ "MatMul",
67
+ "Slice",
68
+ "Add",
69
+ "Concat",
70
+ "Unsqueeze",
71
+ "Transpose",
72
+ "Erf",
73
+ "If",
74
+ "Constant",
75
+ "Squeeze",
76
+ "Expand",
77
+ "Where",
78
+ "Pow",
79
+ "Less",
80
+ "ReduceMean",
81
+ "Mul",
82
+ "Gather",
83
+ "Div",
84
+ "Softmax",
85
+ "Sub",
86
+ "Shape",
87
+ "Equal",
88
+ "Reshape",
89
+ "ConstantOfShape",
90
+ "Range",
91
+ "Sqrt",
92
+ "Cast"
93
+ ],
94
+ "weight_type": "QInt8"
95
+ },
96
+ "decoder_with_past_model": {
97
+ "op_types": [
98
+ "MatMul",
99
+ "Add",
100
+ "Concat",
101
+ "Unsqueeze",
102
+ "Transpose",
103
+ "Erf",
104
+ "Constant",
105
+ "Expand",
106
+ "Where",
107
+ "Pow",
108
+ "ReduceMean",
109
+ "Mul",
110
+ "Gather",
111
+ "Div",
112
+ "Softmax",
113
+ "Sub",
114
+ "Shape",
115
+ "Equal",
116
+ "Reshape",
117
+ "ConstantOfShape",
118
+ "Range",
119
+ "Sqrt",
120
+ "Cast"
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