Update config.json
Browse files- config.json +13 -2
config.json
CHANGED
@@ -2,9 +2,16 @@
|
|
2 |
"architectures": [
|
3 |
"RagSequenceForGeneration"
|
4 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"dataset": "wiki_dpr",
|
6 |
"dataset_split": "train",
|
7 |
"doc_sep": " // ",
|
|
|
8 |
"generator": {
|
9 |
"_num_labels": 3,
|
10 |
"activation_dropout": 0.0,
|
@@ -95,12 +102,16 @@
|
|
95 |
"vocab_size": 50265,
|
96 |
"xla_device": null
|
97 |
},
|
98 |
-
"index_name": "
|
99 |
"index_path": null,
|
100 |
"is_encoder_decoder": true,
|
101 |
"max_combined_length": 300,
|
|
|
|
|
102 |
"model_type": "rag",
|
103 |
"n_docs": 5,
|
|
|
|
|
104 |
"passages_path": null,
|
105 |
"question_encoder": {
|
106 |
"add_cross_attention": false,
|
@@ -170,4 +181,4 @@
|
|
170 |
"title_sep": " / ",
|
171 |
"use_dummy_dataset": false,
|
172 |
"vocab_size": null
|
173 |
-
}
|
|
|
2 |
"architectures": [
|
3 |
"RagSequenceForGeneration"
|
4 |
],
|
5 |
+
"bad_words_ids": [
|
6 |
+
[
|
7 |
+
0,
|
8 |
+
0
|
9 |
+
]
|
10 |
+
],
|
11 |
"dataset": "wiki_dpr",
|
12 |
"dataset_split": "train",
|
13 |
"doc_sep": " // ",
|
14 |
+
"early_stopping": false,
|
15 |
"generator": {
|
16 |
"_num_labels": 3,
|
17 |
"activation_dropout": 0.0,
|
|
|
102 |
"vocab_size": 50265,
|
103 |
"xla_device": null
|
104 |
},
|
105 |
+
"index_name": "compressed",
|
106 |
"index_path": null,
|
107 |
"is_encoder_decoder": true,
|
108 |
"max_combined_length": 300,
|
109 |
+
"max_length": 50,
|
110 |
+
"min_length": 1,
|
111 |
"model_type": "rag",
|
112 |
"n_docs": 5,
|
113 |
+
"num_beams": 4,
|
114 |
+
"num_return_sequences": 1,
|
115 |
"passages_path": null,
|
116 |
"question_encoder": {
|
117 |
"add_cross_attention": false,
|
|
|
181 |
"title_sep": " / ",
|
182 |
"use_dummy_dataset": false,
|
183 |
"vocab_size": null
|
184 |
+
}
|