zpbrent commited on
Commit
f682d83
1 Parent(s): c5490ed

Update config.json

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