Update config.json
Browse files- config.json +11 -7
config.json
CHANGED
@@ -1,28 +1,32 @@
|
|
1 |
{
|
|
|
|
|
2 |
"architectures": [
|
3 |
"GPT2LMHeadModel"
|
4 |
],
|
5 |
"attn_pdrop": 0.1,
|
|
|
6 |
"embd_pdrop": 0.1,
|
7 |
-
"
|
|
|
|
|
|
|
8 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
9 |
"layer_norm_epsilon": 1e-05,
|
|
|
10 |
"n_ctx": 1024,
|
11 |
"n_embd": 768,
|
12 |
"n_head": 12,
|
13 |
"n_layer": 6,
|
14 |
"n_positions": 1024,
|
15 |
-
"num_labels": 1,
|
16 |
-
"output_attentions": false,
|
17 |
-
"output_hidden_states": false,
|
18 |
-
"pruned_heads": {},
|
19 |
"resid_pdrop": 0.1,
|
20 |
"summary_activation": null,
|
21 |
"summary_first_dropout": 0.1,
|
22 |
"summary_proj_to_labels": true,
|
23 |
"summary_type": "cls_index",
|
24 |
"summary_use_proj": true,
|
25 |
-
"torchscript": false,
|
26 |
-
"use_bfloat16": false,
|
27 |
"vocab_size": 50257
|
28 |
}
|
|
|
1 |
{
|
2 |
+
"_num_labels": 1,
|
3 |
+
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
6 |
],
|
7 |
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 50256,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0"
|
13 |
+
},
|
14 |
"initializer_range": 0.02,
|
15 |
+
"label2id": {
|
16 |
+
"LABEL_0": 0
|
17 |
+
},
|
18 |
"layer_norm_epsilon": 1e-05,
|
19 |
+
"model_type": "gpt2",
|
20 |
"n_ctx": 1024,
|
21 |
"n_embd": 768,
|
22 |
"n_head": 12,
|
23 |
"n_layer": 6,
|
24 |
"n_positions": 1024,
|
|
|
|
|
|
|
|
|
25 |
"resid_pdrop": 0.1,
|
26 |
"summary_activation": null,
|
27 |
"summary_first_dropout": 0.1,
|
28 |
"summary_proj_to_labels": true,
|
29 |
"summary_type": "cls_index",
|
30 |
"summary_use_proj": true,
|
|
|
|
|
31 |
"vocab_size": 50257
|
32 |
}
|