MustEr commited on
Commit
83d784d
1 Parent(s): dc4ce46

Valid config

Browse files
Files changed (1) hide show
  1. config.json +215 -0
config.json CHANGED
@@ -1,4 +1,219 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "index_name": "pytorch_model.bin",
3
  "index_path": "MustEr/gpt2-elite",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
 
1
  {
2
+ {
3
+ "architectures": [
4
+ "RagSequenceForGeneration"
5
+ ],
6
+ "dataset": "wiki_dpr",
7
+ "dataset_split": "train",
8
+ "do_deduplication": true,
9
+ "do_marginalize": false,
10
+ "doc_sep": " // ",
11
+ "exclude_bos_score": false,
12
+ "forced_eos_token_id": 2,
13
+ "generator": {
14
+ "_name_or_path": "facebook/bart-base",
15
+ "activation_dropout": 0.1,
16
+ "activation_function": "gelu",
17
+ "add_bias_logits": false,
18
+ "add_cross_attention": false,
19
+ "add_final_layer_norm": false,
20
+ "architectures": [
21
+ "BartModel"
22
+ ],
23
+ "attention_dropout": 0.1,
24
+ "bad_words_ids": null,
25
+ "bos_token_id": 0,
26
+ "chunk_size_feed_forward": 0,
27
+ "classif_dropout": 0.1,
28
+ "classifier_dropout": 0.0,
29
+ "cross_attention_hidden_size": null,
30
+ "d_model": 768,
31
+ "decoder_attention_heads": 12,
32
+ "decoder_ffn_dim": 3072,
33
+ "decoder_layerdrop": 0.0,
34
+ "decoder_layers": 6,
35
+ "decoder_start_token_id": 2,
36
+ "diversity_penalty": 0.0,
37
+ "do_sample": false,
38
+ "dropout": 0.1,
39
+ "early_stopping": true,
40
+ "encoder_attention_heads": 12,
41
+ "encoder_ffn_dim": 3072,
42
+ "encoder_layerdrop": 0.0,
43
+ "encoder_layers": 6,
44
+ "encoder_no_repeat_ngram_size": 0,
45
+ "eos_token_id": 2,
46
+ "exponential_decay_length_penalty": null,
47
+ "finetuning_task": null,
48
+ "forced_bos_token_id": 0,
49
+ "forced_eos_token_id": 2,
50
+ "gradient_checkpointing": false,
51
+ "id2label": {
52
+ "0": "LABEL_0",
53
+ "1": "LABEL_1",
54
+ "2": "LABEL_2"
55
+ },
56
+ "init_std": 0.02,
57
+ "is_decoder": false,
58
+ "is_encoder_decoder": true,
59
+ "label2id": {
60
+ "LABEL_0": 0,
61
+ "LABEL_1": 1,
62
+ "LABEL_2": 2
63
+ },
64
+ "length_penalty": 1.0,
65
+ "max_length": 20,
66
+ "max_position_embeddings": 1024,
67
+ "min_length": 0,
68
+ "model_type": "bart",
69
+ "no_repeat_ngram_size": 3,
70
+ "normalize_before": false,
71
+ "normalize_embedding": true,
72
+ "num_beam_groups": 1,
73
+ "num_beams": 4,
74
+ "num_hidden_layers": 6,
75
+ "num_return_sequences": 1,
76
+ "output_attentions": false,
77
+ "output_hidden_states": false,
78
+ "output_scores": false,
79
+ "pad_token_id": 1,
80
+ "prefix": null,
81
+ "problem_type": null,
82
+ "pruned_heads": {},
83
+ "remove_invalid_values": false,
84
+ "repetition_penalty": 1.0,
85
+ "return_dict": true,
86
+ "return_dict_in_generate": false,
87
+ "scale_embedding": false,
88
+ "sep_token_id": null,
89
+ "task_specific_params": {
90
+ "summarization": {
91
+ "length_penalty": 1.0,
92
+ "max_length": 128,
93
+ "min_length": 12,
94
+ "num_beams": 4
95
+ },
96
+ "summarization_cnn": {
97
+ "length_penalty": 2.0,
98
+ "max_length": 142,
99
+ "min_length": 56,
100
+ "num_beams": 4
101
+ },
102
+ "summarization_xsum": {
103
+ "length_penalty": 1.0,
104
+ "max_length": 62,
105
+ "min_length": 11,
106
+ "num_beams": 6
107
+ }
108
+ },
109
+ "temperature": 1.0,
110
+ "tie_encoder_decoder": false,
111
+ "tie_word_embeddings": true,
112
+ "tokenizer_class": null,
113
+ "top_k": 50,
114
+ "top_p": 1.0,
115
+ "torch_dtype": "float32",
116
+ "torchscript": false,
117
+ "transformers_version": "4.19.2",
118
+ "typical_p": 1.0,
119
+ "use_bfloat16": false,
120
+ "use_cache": true,
121
+ "vocab_size": 50265
122
+ },
123
  "index_name": "pytorch_model.bin",
124
  "index_path": "MustEr/gpt2-elite",
125
+ "is_encoder_decoder": true,
126
+ "label_smoothing": 0.0,
127
+ "max_combined_length": 300,
128
+ "model_type": "rag",
129
+ "n_docs": 5,
130
+ "output_retrieved": false,
131
+ "passages_path": null,
132
+ "question_encoder": {
133
+ "_name_or_path": "facebook/dpr-question_encoder-single-nq-base",
134
+ "add_cross_attention": false,
135
+ "architectures": [
136
+ "DPRQuestionEncoder"
137
+ ],
138
+ "attention_probs_dropout_prob": 0.1,
139
+ "bad_words_ids": null,
140
+ "bos_token_id": null,
141
+ "chunk_size_feed_forward": 0,
142
+ "cross_attention_hidden_size": null,
143
+ "decoder_start_token_id": null,
144
+ "diversity_penalty": 0.0,
145
+ "do_sample": false,
146
+ "early_stopping": false,
147
+ "encoder_no_repeat_ngram_size": 0,
148
+ "eos_token_id": null,
149
+ "exponential_decay_length_penalty": null,
150
+ "finetuning_task": null,
151
+ "forced_bos_token_id": null,
152
+ "forced_eos_token_id": null,
153
+ "gradient_checkpointing": false,
154
+ "hidden_act": "gelu",
155
+ "hidden_dropout_prob": 0.1,
156
+ "hidden_size": 768,
157
+ "id2label": {
158
+ "0": "LABEL_0",
159
+ "1": "LABEL_1"
160
+ },
161
+ "initializer_range": 0.02,
162
+ "intermediate_size": 3072,
163
+ "is_decoder": false,
164
+ "is_encoder_decoder": false,
165
+ "label2id": {
166
+ "LABEL_0": 0,
167
+ "LABEL_1": 1
168
+ },
169
+ "layer_norm_eps": 1e-12,
170
+ "length_penalty": 1.0,
171
+ "max_length": 20,
172
+ "max_position_embeddings": 512,
173
+ "min_length": 0,
174
+ "model_type": "dpr",
175
+ "no_repeat_ngram_size": 0,
176
+ "num_attention_heads": 12,
177
+ "num_beam_groups": 1,
178
+ "num_beams": 1,
179
+ "num_hidden_layers": 12,
180
+ "num_return_sequences": 1,
181
+ "output_attentions": false,
182
+ "output_hidden_states": false,
183
+ "output_scores": false,
184
+ "pad_token_id": 0,
185
+ "position_embedding_type": "absolute",
186
+ "prefix": null,
187
+ "problem_type": null,
188
+ "projection_dim": 0,
189
+ "pruned_heads": {},
190
+ "remove_invalid_values": false,
191
+ "repetition_penalty": 1.0,
192
+ "return_dict": true,
193
+ "return_dict_in_generate": false,
194
+ "sep_token_id": null,
195
+ "task_specific_params": null,
196
+ "temperature": 1.0,
197
+ "tie_encoder_decoder": false,
198
+ "tie_word_embeddings": true,
199
+ "tokenizer_class": null,
200
+ "top_k": 50,
201
+ "top_p": 1.0,
202
+ "torch_dtype": null,
203
+ "torchscript": false,
204
+ "transformers_version": "4.19.2",
205
+ "type_vocab_size": 2,
206
+ "typical_p": 1.0,
207
+ "use_bfloat16": false,
208
+ "vocab_size": 30522
209
+ },
210
+ "reduce_loss": false,
211
+ "retrieval_batch_size": 8,
212
+ "retrieval_vector_size": 768,
213
+ "title_sep": " / ",
214
+ "torch_dtype": "float32",
215
+ "transformers_version": null,
216
+ "use_cache": true,
217
+ "use_dummy_dataset": true,
218
+ "vocab_size": null
219
  }