system HF staff commited on
Commit
c620c4d
1 Parent(s): 3cd8133

Update config.json

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