Create config2.json
Browse files- config2.json +41 -0
config2.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_function": "gelu_new",
|
3 |
+
"architectures": [
|
4 |
+
"GPT2LMHeadModel"
|
5 |
+
],
|
6 |
+
"attn_pdrop": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"embd_pdrop": 0.1,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"layer_norm_epsilon": 1e-05,
|
12 |
+
"model_type": "gpt2",
|
13 |
+
"n_embd": 1024,
|
14 |
+
"n_head": 16,
|
15 |
+
"n_inner": null,
|
16 |
+
"n_layer": 24,
|
17 |
+
"n_positions": 1024,
|
18 |
+
"reorder_and_upcast_attn": false,
|
19 |
+
"resid_pdrop": 0.1,
|
20 |
+
"scale_attn_by_inverse_layer_idx": false,
|
21 |
+
"scale_attn_weights": true,
|
22 |
+
"summary_activation": null,
|
23 |
+
"summary_first_dropout": 0.1,
|
24 |
+
"summary_proj_to_labels": true,
|
25 |
+
"summary_type": "cls_index",
|
26 |
+
"summary_use_proj": true,
|
27 |
+
"task_specific_params": {
|
28 |
+
"text-generation": {
|
29 |
+
"do_sample": true,
|
30 |
+
"max_length": 200,
|
31 |
+
"num_beams": 3,
|
32 |
+
"temperature": 1,
|
33 |
+
"no_repeat_ngram_size": 2,
|
34 |
+
"top_k": 50,
|
35 |
+
"top_p": 80
|
36 |
+
}
|
37 |
+
},
|
38 |
+
"transformers_version": "4.26.0",
|
39 |
+
"use_cache": true,
|
40 |
+
"vocab_size": 50000
|
41 |
+
}
|