Xenova HF staff commited on
Commit
ed72a89
1 Parent(s): f37ad66

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/bart-large-xsum",
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": 12,
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
+ "forced_eos_token_id": 2,
32
+ "gradient_checkpointing": false,
33
+ "id2label": {
34
+ "0": "LABEL_0",
35
+ "1": "LABEL_1",
36
+ "2": "LABEL_2"
37
+ },
38
+ "init_std": 0.02,
39
+ "is_encoder_decoder": true,
40
+ "label2id": {
41
+ "LABEL_0": 0,
42
+ "LABEL_1": 1,
43
+ "LABEL_2": 2
44
+ },
45
+ "max_length": 62,
46
+ "max_position_embeddings": 1024,
47
+ "min_length": 11,
48
+ "model_type": "bart",
49
+ "no_repeat_ngram_size": 3,
50
+ "normalize_before": false,
51
+ "normalize_embedding": true,
52
+ "num_beams": 6,
53
+ "num_hidden_layers": 12,
54
+ "output_past": true,
55
+ "pad_token_id": 1,
56
+ "prefix": " ",
57
+ "replacing_rate": 0,
58
+ "scale_embedding": false,
59
+ "static_position_embeddings": false,
60
+ "student_decoder_layers": null,
61
+ "student_encoder_layers": null,
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:6bb0322cebe94cc57913ee8d209193e36d176df7dcb31377aa38190671af4e62
3
+ size 1017091776
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b34898789dfcbbc072dee4e75c4bb9f581b8ab88012185424ae08ceff906ba23
3
+ size 1017574814
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:535680b6ecc65fcdaebf1c6701688004b7cd33f01c01b35f0354438f86de41e7
3
+ size 257435745
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c80421902dd755dccebbc30d0e9db5b5f0b959e79a23e952d7ea3d61d6b9cbe
3
+ size 256677944
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:764394c33210abe42a6cd210dc2ecd9f37133e6729ee0ee180740b26c60858d8
3
+ size 916250419
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e56986e32eb7e72b106b4f6572305fc821a7bce4ab149d0278e2491fc9224858
3
+ size 231158860
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
+ "Softmax",
8
+ "Sqrt",
9
+ "Slice",
10
+ "Squeeze",
11
+ "Reshape",
12
+ "ReduceMean",
13
+ "Equal",
14
+ "Transpose",
15
+ "MatMul",
16
+ "Expand",
17
+ "Mul",
18
+ "ConstantOfShape",
19
+ "Pow",
20
+ "Less",
21
+ "Cast",
22
+ "Constant",
23
+ "Gather",
24
+ "Range",
25
+ "Where",
26
+ "Unsqueeze",
27
+ "Add",
28
+ "Concat",
29
+ "Shape",
30
+ "Div",
31
+ "Erf",
32
+ "Sub"
33
+ ],
34
+ "weight_type": "QInt8"
35
+ },
36
+ "encoder_model": {
37
+ "op_types": [
38
+ "Softmax",
39
+ "Sqrt",
40
+ "Reshape",
41
+ "ReduceMean",
42
+ "Equal",
43
+ "Transpose",
44
+ "MatMul",
45
+ "Expand",
46
+ "Mul",
47
+ "ConstantOfShape",
48
+ "Pow",
49
+ "Cast",
50
+ "Constant",
51
+ "Gather",
52
+ "Range",
53
+ "Where",
54
+ "Unsqueeze",
55
+ "Add",
56
+ "Concat",
57
+ "Shape",
58
+ "Div",
59
+ "Erf",
60
+ "Sub"
61
+ ],
62
+ "weight_type": "QInt8"
63
+ },
64
+ "decoder_model_merged": {
65
+ "op_types": [
66
+ "Softmax",
67
+ "Sqrt",
68
+ "Slice",
69
+ "Squeeze",
70
+ "Reshape",
71
+ "ReduceMean",
72
+ "Equal",
73
+ "Transpose",
74
+ "MatMul",
75
+ "Expand",
76
+ "Mul",
77
+ "ConstantOfShape",
78
+ "Pow",
79
+ "If",
80
+ "Less",
81
+ "Cast",
82
+ "Constant",
83
+ "Gather",
84
+ "Range",
85
+ "Where",
86
+ "Unsqueeze",
87
+ "Add",
88
+ "Concat",
89
+ "Shape",
90
+ "Div",
91
+ "Erf",
92
+ "Sub"
93
+ ],
94
+ "weight_type": "QInt8"
95
+ },
96
+ "decoder_with_past_model": {
97
+ "op_types": [
98
+ "Softmax",
99
+ "Sqrt",
100
+ "Reshape",
101
+ "ReduceMean",
102
+ "Equal",
103
+ "Transpose",
104
+ "MatMul",
105
+ "Expand",
106
+ "Mul",
107
+ "ConstantOfShape",
108
+ "Pow",
109
+ "Cast",
110
+ "Constant",
111
+ "Gather",
112
+ "Range",
113
+ "Where",
114
+ "Unsqueeze",
115
+ "Add",
116
+ "Concat",
117
+ "Shape",
118
+ "Div",
119
+ "Erf",
120
+ "Sub"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<s>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "cls_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "errors": "replace",
8
+ "mask_token": "<mask>",
9
+ "model_max_length": 1024,
10
+ "pad_token": "<pad>",
11
+ "sep_token": "</s>",
12
+ "tokenizer_class": "BartTokenizer",
13
+ "trim_offsets": true,
14
+ "unk_token": "<unk>"
15
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff