system HF staff commited on
Commit
fb6aa00
1 Parent(s): 521d650

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +195 -0
config.json ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RagSequenceForGeneration"
4
+ ],
5
+ "dataset": "wiki_dpr",
6
+ "dataset_split": "train",
7
+ "do_deduplication": true,
8
+ "do_marginalize": false,
9
+ "doc_sep": " // ",
10
+ "exclude_bos_score": false,
11
+ "generator": {
12
+ "_num_labels": 3,
13
+ "activation_dropout": 0.0,
14
+ "activation_function": "gelu",
15
+ "add_bias_logits": false,
16
+ "add_cross_attention": false,
17
+ "add_final_layer_norm": false,
18
+ "architectures": [
19
+ "BartForConditionalGeneration"
20
+ ],
21
+ "attention_dropout": 0.0,
22
+ "bad_words_ids": null,
23
+ "bos_token_id": 0,
24
+ "chunk_size_feed_forward": 0,
25
+ "classif_dropout": 0.0,
26
+ "d_model": 24,
27
+ "decoder_attention_heads": 2,
28
+ "decoder_ffn_dim": 16,
29
+ "decoder_layerdrop": 0.0,
30
+ "decoder_layers": 2,
31
+ "decoder_start_token_id": 2,
32
+ "do_sample": false,
33
+ "dropout": 0.1,
34
+ "early_stopping": false,
35
+ "encoder_attention_heads": 2,
36
+ "encoder_ffn_dim": 16,
37
+ "encoder_layerdrop": 0.0,
38
+ "encoder_layers": 2,
39
+ "eos_token_id": 2,
40
+ "extra_pos_embeddings": 2,
41
+ "finetuning_task": null,
42
+ "force_bos_token_to_be_generated": false,
43
+ "id2label": {
44
+ "0": "LABEL_0",
45
+ "1": "LABEL_1",
46
+ "2": "LABEL_2"
47
+ },
48
+ "init_std": 0.02,
49
+ "is_decoder": false,
50
+ "is_encoder_decoder": true,
51
+ "label2id": {
52
+ "LABEL_0": 0,
53
+ "LABEL_1": 1,
54
+ "LABEL_2": 2
55
+ },
56
+ "length_penalty": 1.0,
57
+ "max_length": 20,
58
+ "max_position_embeddings": 1024,
59
+ "min_length": 0,
60
+ "model_type": "bart",
61
+ "no_repeat_ngram_size": 0,
62
+ "normalize_before": false,
63
+ "normalize_embedding": true,
64
+ "num_beams": 1,
65
+ "num_hidden_layers": 2,
66
+ "num_return_sequences": 1,
67
+ "output_attentions": false,
68
+ "output_hidden_states": false,
69
+ "output_past": true,
70
+ "pad_token_id": 1,
71
+ "prefix": " ",
72
+ "pruned_heads": {},
73
+ "repetition_penalty": 1.0,
74
+ "return_dict": false,
75
+ "scale_embedding": false,
76
+ "static_position_embeddings": false,
77
+ "task_specific_params": {
78
+ "summarization": {
79
+ "early_stopping": true,
80
+ "max_length": 10,
81
+ "min_length": 2,
82
+ "num_beams": 1
83
+ }
84
+ },
85
+ "temperature": 1.0,
86
+ "tie_encoder_decoder": false,
87
+ "tie_word_embeddings": true,
88
+ "tokenizer_class": null,
89
+ "top_k": 50,
90
+ "top_p": 1.0,
91
+ "torchscript": false,
92
+ "use_bfloat16": false,
93
+ "use_cache": true,
94
+ "vocab_size": 50265,
95
+ "xla_device": null
96
+ },
97
+ "index_name": "compressed",
98
+ "index_path": null,
99
+ "is_encoder_decoder": true,
100
+ "label_smoothing": 0.0,
101
+ "max_combined_length": 300,
102
+ "model_type": "rag",
103
+ "n_docs": 5,
104
+ "output_retrieved": false,
105
+ "passages_path": null,
106
+ "question_encoder": {
107
+ "_num_labels": 9,
108
+ "add_cross_attention": false,
109
+ "architectures": [
110
+ "BertForTokenClassification"
111
+ ],
112
+ "attention_probs_dropout_prob": 0.1,
113
+ "bad_words_ids": null,
114
+ "bos_token_id": null,
115
+ "chunk_size_feed_forward": 0,
116
+ "decoder_start_token_id": null,
117
+ "directionality": "bidi",
118
+ "do_sample": false,
119
+ "early_stopping": false,
120
+ "eos_token_id": null,
121
+ "finetuning_task": null,
122
+ "gradient_checkpointing": false,
123
+ "hidden_act": "gelu",
124
+ "hidden_dropout_prob": 0.1,
125
+ "hidden_size": 2,
126
+ "id2label": {
127
+ "0": "O",
128
+ "1": "B-MISC",
129
+ "2": "I-MISC",
130
+ "3": "B-PER",
131
+ "4": "I-PER",
132
+ "5": "B-ORG",
133
+ "6": "I-ORG",
134
+ "7": "B-LOC",
135
+ "8": "I-LOC"
136
+ },
137
+ "initializer_range": 0.02,
138
+ "intermediate_size": 4,
139
+ "is_decoder": false,
140
+ "is_encoder_decoder": false,
141
+ "label2id": {
142
+ "B-LOC": 7,
143
+ "B-MISC": 1,
144
+ "B-ORG": 5,
145
+ "B-PER": 3,
146
+ "I-LOC": 8,
147
+ "I-MISC": 2,
148
+ "I-ORG": 6,
149
+ "I-PER": 4,
150
+ "O": 0
151
+ },
152
+ "layer_norm_eps": 1e-12,
153
+ "length_penalty": 1.0,
154
+ "max_length": 20,
155
+ "max_position_embeddings": 512,
156
+ "min_length": 0,
157
+ "model_type": "bert",
158
+ "no_repeat_ngram_size": 0,
159
+ "num_attention_heads": 2,
160
+ "num_beams": 1,
161
+ "num_hidden_layers": 2,
162
+ "num_return_sequences": 1,
163
+ "output_attentions": false,
164
+ "output_hidden_states": false,
165
+ "pad_token_id": 0,
166
+ "pooler_fc_size": 768,
167
+ "pooler_num_attention_heads": 12,
168
+ "pooler_num_fc_layers": 3,
169
+ "pooler_size_per_head": 128,
170
+ "pooler_type": "first_token_transform",
171
+ "prefix": null,
172
+ "pruned_heads": {},
173
+ "repetition_penalty": 1.0,
174
+ "return_dict": false,
175
+ "task_specific_params": null,
176
+ "temperature": 1.0,
177
+ "tie_encoder_decoder": false,
178
+ "tie_word_embeddings": true,
179
+ "tokenizer_class": null,
180
+ "top_k": 50,
181
+ "top_p": 1.0,
182
+ "torchscript": false,
183
+ "type_vocab_size": 2,
184
+ "use_bfloat16": false,
185
+ "use_cache": true,
186
+ "vocab_size": 28996,
187
+ "xla_device": null
188
+ },
189
+ "reduce_loss": false,
190
+ "retrieval_batch_size": 8,
191
+ "retrieval_vector_size": 768,
192
+ "title_sep": " / ",
193
+ "use_dummy_dataset": false,
194
+ "vocab_size": null
195
+ }