system HF staff commited on
Commit
2cadda9
1 Parent(s): f9fdf9b

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +11 -0
config.json CHANGED
@@ -2,10 +2,17 @@
2
  "architectures": [
3
  "RagSequenceForGeneration"
4
  ],
 
 
 
 
 
 
5
  "dataset": "wiki_dpr",
6
  "dataset_split": "train",
7
  "do_marginalize": false,
8
  "doc_sep": " // ",
 
9
  "exclude_bos_score": false,
10
  "generator": {
11
  "_num_labels": 3,
@@ -99,8 +106,12 @@
99
  "is_encoder_decoder": true,
100
  "label_smoothing": 0.0,
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,
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
  "do_marginalize": false,
14
  "doc_sep": " // ",
15
+ "early_stopping": false,
16
  "exclude_bos_score": false,
17
  "generator": {
18
  "_num_labels": 3,
106
  "is_encoder_decoder": true,
107
  "label_smoothing": 0.0,
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,