Update config.json
Browse files- config.json +12 -1
config.json
CHANGED
@@ -2,10 +2,17 @@
|
|
2 |
"architectures": [
|
3 |
"RagTokenForGeneration"
|
4 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"dataset": "wiki_dpr",
|
6 |
"dataset_split": "train",
|
7 |
"decoder_start_token_id": 2,
|
8 |
"doc_sep": " // ",
|
|
|
9 |
"eos_token_id": 2,
|
10 |
"generator": {
|
11 |
"_num_labels": 3,
|
@@ -97,12 +104,16 @@
|
|
97 |
"vocab_size": 50265,
|
98 |
"xla_device": null
|
99 |
},
|
100 |
-
"index_name": "
|
101 |
"index_path": null,
|
102 |
"is_encoder_decoder": true,
|
103 |
"max_combined_length": 300,
|
|
|
|
|
104 |
"model_type": "rag",
|
105 |
"n_docs": 5,
|
|
|
|
|
106 |
"pad_token_id": 1,
|
107 |
"passages_path": null,
|
108 |
"question_encoder": {
|
|
|
2 |
"architectures": [
|
3 |
"RagTokenForGeneration"
|
4 |
],
|
5 |
+
"bad_words_ids": [
|
6 |
+
[
|
7 |
+
0,
|
8 |
+
0
|
9 |
+
]
|
10 |
+
],
|
11 |
"dataset": "wiki_dpr",
|
12 |
"dataset_split": "train",
|
13 |
"decoder_start_token_id": 2,
|
14 |
"doc_sep": " // ",
|
15 |
+
"early_stopping": false,
|
16 |
"eos_token_id": 2,
|
17 |
"generator": {
|
18 |
"_num_labels": 3,
|
|
|
104 |
"vocab_size": 50265,
|
105 |
"xla_device": null
|
106 |
},
|
107 |
+
"index_name": "compressed",
|
108 |
"index_path": null,
|
109 |
"is_encoder_decoder": true,
|
110 |
"max_combined_length": 300,
|
111 |
+
"max_length": 50,
|
112 |
+
"min_length": 1,
|
113 |
"model_type": "rag",
|
114 |
"n_docs": 5,
|
115 |
+
"num_beams": 4,
|
116 |
+
"num_return_sequences": 1,
|
117 |
"pad_token_id": 1,
|
118 |
"passages_path": null,
|
119 |
"question_encoder": {
|