Xenova HF staff commited on
Commit
eacfba7
1 Parent(s): 985cad5

Upload folder using huggingface_hub

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