j961224 commited on
Commit
0f40062
1 Parent(s): a63fc35

Upload: Summarization Model

Browse files
config.json ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "metamong1/bigbart_tapt_ep3_bs16_pre_RD",
3
+ "architectures": [
4
+ "EncoderDecoderModel"
5
+ ],
6
+ "decoder": {
7
+ "_name_or_path": "gogamza/kobart-base-v1",
8
+ "activation_dropout": 0.0,
9
+ "activation_function": "gelu",
10
+ "add_bias_logits": false,
11
+ "add_cross_attention": true,
12
+ "add_final_layer_norm": false,
13
+ "architectures": [
14
+ "BartModel"
15
+ ],
16
+ "attention_dropout": 0.0,
17
+ "author": "Heewon Jeon(madjakarta@gmail.com)",
18
+ "bad_words_ids": null,
19
+ "bos_token_id": 0,
20
+ "chunk_size_feed_forward": 0,
21
+ "classif_dropout": 0.1,
22
+ "classifier_dropout": 0.1,
23
+ "cross_attention_hidden_size": null,
24
+ "d_model": 768,
25
+ "decoder_attention_heads": 16,
26
+ "decoder_ffn_dim": 3072,
27
+ "decoder_layerdrop": 0.0,
28
+ "decoder_layers": 6,
29
+ "decoder_start_token_id": 1,
30
+ "diversity_penalty": 0.0,
31
+ "do_blenderbot_90_layernorm": false,
32
+ "do_sample": false,
33
+ "doc_type_size": 4,
34
+ "dropout": 0.1,
35
+ "early_stopping": false,
36
+ "encoder_attention_heads": 16,
37
+ "encoder_ffn_dim": 3072,
38
+ "encoder_layerdrop": 0.0,
39
+ "encoder_layers": 6,
40
+ "encoder_no_repeat_ngram_size": 0,
41
+ "eos_token_id": 1,
42
+ "exponential_decay_length_penalty": null,
43
+ "extra_pos_embeddings": 2,
44
+ "finetuning_task": null,
45
+ "force_bos_token_to_be_generated": false,
46
+ "forced_bos_token_id": null,
47
+ "forced_eos_token_id": 1,
48
+ "gradient_checkpointing": false,
49
+ "id2label": {
50
+ "0": "NEGATIVE",
51
+ "1": "POSITIVE"
52
+ },
53
+ "init_std": 0.02,
54
+ "is_decoder": true,
55
+ "is_encoder_decoder": true,
56
+ "kobart_version": 1.0,
57
+ "label2id": {
58
+ "NEGATIVE": 0,
59
+ "POSITIVE": 1
60
+ },
61
+ "length_penalty": 1.0,
62
+ "max_length": 20,
63
+ "max_position_embeddings": 2048,
64
+ "min_length": 0,
65
+ "model_type": "bart",
66
+ "no_repeat_ngram_size": 0,
67
+ "normalize_before": false,
68
+ "normalize_embedding": true,
69
+ "num_beam_groups": 1,
70
+ "num_beams": 1,
71
+ "num_hidden_layers": 6,
72
+ "num_return_sequences": 1,
73
+ "output_attentions": false,
74
+ "output_hidden_states": false,
75
+ "output_scores": false,
76
+ "pad_token_id": 0,
77
+ "prefix": null,
78
+ "problem_type": null,
79
+ "pruned_heads": {},
80
+ "remove_invalid_values": false,
81
+ "repetition_penalty": 1.0,
82
+ "return_dict": true,
83
+ "return_dict_in_generate": false,
84
+ "scale_embedding": false,
85
+ "sep_token_id": null,
86
+ "static_position_embeddings": false,
87
+ "task_specific_params": null,
88
+ "temperature": 1.0,
89
+ "tie_encoder_decoder": false,
90
+ "tie_word_embeddings": true,
91
+ "tokenizer_class": "PreTrainedTokenizerFast",
92
+ "top_k": 50,
93
+ "top_p": 1.0,
94
+ "torch_dtype": null,
95
+ "torchscript": false,
96
+ "transformers_version": "4.20.1",
97
+ "typical_p": 1.0,
98
+ "use_bfloat16": false,
99
+ "use_cache": true,
100
+ "vocab_size": 32500
101
+ },
102
+ "encoder": {
103
+ "_name_or_path": "monologg/kobigbird-bert-base",
104
+ "add_cross_attention": false,
105
+ "architectures": [
106
+ "BigBirdForMaskedLM"
107
+ ],
108
+ "attention_probs_dropout_prob": 0.1,
109
+ "attention_type": "block_sparse",
110
+ "bad_words_ids": null,
111
+ "block_size": 64,
112
+ "bos_token_id": 5,
113
+ "chunk_size_feed_forward": 0,
114
+ "classifier_dropout": null,
115
+ "cross_attention_hidden_size": null,
116
+ "decoder_start_token_id": null,
117
+ "diversity_penalty": 0.0,
118
+ "do_sample": false,
119
+ "doc_type_size": 4,
120
+ "early_stopping": false,
121
+ "encoder_no_repeat_ngram_size": 0,
122
+ "eos_token_id": 6,
123
+ "exponential_decay_length_penalty": null,
124
+ "finetuning_task": null,
125
+ "forced_bos_token_id": null,
126
+ "forced_eos_token_id": null,
127
+ "gradient_checkpointing": false,
128
+ "hidden_act": "gelu_new",
129
+ "hidden_dropout_prob": 0.1,
130
+ "hidden_size": 768,
131
+ "id2label": {
132
+ "0": "LABEL_0",
133
+ "1": "LABEL_1"
134
+ },
135
+ "initializer_range": 0.02,
136
+ "intermediate_size": 3072,
137
+ "is_decoder": false,
138
+ "is_encoder_decoder": false,
139
+ "label2id": {
140
+ "LABEL_0": 0,
141
+ "LABEL_1": 1
142
+ },
143
+ "layer_norm_eps": 1e-12,
144
+ "length_penalty": 1.0,
145
+ "max_length": 20,
146
+ "max_position_embeddings": 4096,
147
+ "min_length": 0,
148
+ "model_type": "big_bird",
149
+ "no_repeat_ngram_size": 0,
150
+ "num_attention_heads": 12,
151
+ "num_beam_groups": 1,
152
+ "num_beams": 1,
153
+ "num_hidden_layers": 6,
154
+ "num_random_blocks": 3,
155
+ "num_return_sequences": 1,
156
+ "output_attentions": false,
157
+ "output_hidden_states": false,
158
+ "output_scores": false,
159
+ "pad_token_id": 0,
160
+ "position_embedding_type": "absolute",
161
+ "prefix": null,
162
+ "problem_type": null,
163
+ "pruned_heads": {},
164
+ "remove_invalid_values": false,
165
+ "repetition_penalty": 1.0,
166
+ "rescale_embeddings": false,
167
+ "return_dict": true,
168
+ "return_dict_in_generate": false,
169
+ "sep_token_id": 3,
170
+ "task_specific_params": null,
171
+ "temperature": 1.0,
172
+ "tie_encoder_decoder": false,
173
+ "tie_word_embeddings": true,
174
+ "tokenizer_class": "BertTokenizer",
175
+ "top_k": 50,
176
+ "top_p": 1.0,
177
+ "torch_dtype": "float32",
178
+ "torchscript": false,
179
+ "transformers_version": "4.20.1",
180
+ "type_vocab_size": 2,
181
+ "typical_p": 1.0,
182
+ "use_bfloat16": false,
183
+ "use_bias": true,
184
+ "use_cache": true,
185
+ "vocab_size": 32500
186
+ },
187
+ "is_encoder_decoder": true,
188
+ "model_type": "encoder-decoder",
189
+ "torch_dtype": "float32",
190
+ "transformers_version": null
191
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7094c120185765cffc71297f7a3e3a5ba1a65c5b710fe0345a4846c59a803df2
3
+ size 718008553
special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "</s>",
5
+ "mask_token": "[MASK]",
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "unk_token": "[UNK]"
9
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": false,
6
+ "eos_token": "</s>",
7
+ "mask_token": "[MASK]",
8
+ "model_max_length": 4096,
9
+ "name_or_path": "metamong1/bigbart_tapt_ep3_bs16_pre_RD",
10
+ "never_split": null,
11
+ "pad_token": "[PAD]",
12
+ "sep_token": "[SEP]",
13
+ "special_tokens_map_file": "/opt/ml/.cache/huggingface/transformers/9bea998b48658e35dd618115a266f6c173183a9a4261fc6e40730d74c4b67899.e3640e465e51ce85d94923a0b396029ecc2e3e4c7764031eee57ab272637652d",
14
+ "strip_accents": null,
15
+ "tokenize_chinese_chars": true,
16
+ "tokenizer_class": "BertTokenizer",
17
+ "unk_token": "[UNK]"
18
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ba39e878b1ef9c13e9bc8677f2424437e46f2d54b454b275c3f9d711c019b43
3
+ size 5871
vocab.txt ADDED
The diff for this file is too large to render. See raw diff