Update adapter_config.json
Browse files- adapter_config.json +29 -0
adapter_config.json
CHANGED
|
@@ -19,4 +19,33 @@
|
|
| 19 |
"c_attn"
|
| 20 |
],
|
| 21 |
"task_type": "CAUSAL_LM",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
}
|
|
|
|
| 19 |
"c_attn"
|
| 20 |
],
|
| 21 |
"task_type": "CAUSAL_LM",
|
| 22 |
+
"activation_function": "gelu_new",
|
| 23 |
+
"architectures": [
|
| 24 |
+
"GPT2LMHeadModel"
|
| 25 |
+
],
|
| 26 |
+
"attn_pdrop": 0.1,
|
| 27 |
+
"bos_token_id": 50256,
|
| 28 |
+
"embd_pdrop": 0.1,
|
| 29 |
+
"eos_token_id": 50256,
|
| 30 |
+
"initializer_range": 0.02,
|
| 31 |
+
"layer_norm_epsilon": 1e-05,
|
| 32 |
+
"model_type": "gpt2",
|
| 33 |
+
"n_ctx": 1024,
|
| 34 |
+
"n_embd": 768,
|
| 35 |
+
"n_head": 12,
|
| 36 |
+
"n_layer": 12,
|
| 37 |
+
"n_positions": 1024,
|
| 38 |
+
"resid_pdrop": 0.1,
|
| 39 |
+
"summary_activation": null,
|
| 40 |
+
"summary_first_dropout": 0.1,
|
| 41 |
+
"summary_proj_to_labels": true,
|
| 42 |
+
"summary_type": "cls_index",
|
| 43 |
+
"summary_use_proj": true,
|
| 44 |
+
"task_specific_params": {
|
| 45 |
+
"text-generation": {
|
| 46 |
+
"do_sample": true,
|
| 47 |
+
"max_length": 50
|
| 48 |
+
}
|
| 49 |
+
},
|
| 50 |
+
"vocab_size": 50257
|
| 51 |
}
|