Update config.json
Browse files- config.json +0 -33
config.json
CHANGED
@@ -1,32 +1,14 @@
|
|
1 |
{
|
2 |
-
"_num_labels": 2,
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
6 |
],
|
7 |
"attn_pdrop": 0.1,
|
8 |
"bos_token_id": 50256,
|
9 |
-
"decoder_start_token_id": null,
|
10 |
-
"do_sample": false,
|
11 |
-
"early_stopping": false,
|
12 |
"embd_pdrop": 0.1,
|
13 |
"eos_token_id": 50256,
|
14 |
-
"finetuning_task": null,
|
15 |
-
"id2label": {
|
16 |
-
"0": "LABEL_0",
|
17 |
-
"1": "LABEL_1"
|
18 |
-
},
|
19 |
"initializer_range": 0.02,
|
20 |
-
"is_decoder": false,
|
21 |
-
"is_encoder_decoder": false,
|
22 |
-
"label2id": {
|
23 |
-
"LABEL_0": 0,
|
24 |
-
"LABEL_1": 1
|
25 |
-
},
|
26 |
"layer_norm_epsilon": 1e-05,
|
27 |
-
"length_penalty": 1.0,
|
28 |
-
"max_length": 20,
|
29 |
-
"min_length": 0,
|
30 |
"model_type": "gpt2",
|
31 |
"n_ctx": 1024,
|
32 |
"n_embd": 1024,
|
@@ -34,28 +16,13 @@
|
|
34 |
"n_layer": 24,
|
35 |
"n_positions": 1024,
|
36 |
"n_special": 0,
|
37 |
-
"no_repeat_ngram_size": 0,
|
38 |
-
"num_beams": 1,
|
39 |
-
"num_return_sequences": 1,
|
40 |
-
"output_attentions": false,
|
41 |
-
"output_hidden_states": false,
|
42 |
"output_past": true,
|
43 |
-
"pad_token_id": null,
|
44 |
"predict_special_tokens": true,
|
45 |
-
"prefix": null,
|
46 |
-
"pruned_heads": {},
|
47 |
-
"repetition_penalty": 1.0,
|
48 |
"resid_pdrop": 0.1,
|
49 |
"summary_activation": null,
|
50 |
"summary_first_dropout": 0.1,
|
51 |
"summary_proj_to_labels": true,
|
52 |
"summary_type": "cls_index",
|
53 |
"summary_use_proj": true,
|
54 |
-
"task_specific_params": null,
|
55 |
-
"temperature": 1.0,
|
56 |
-
"top_k": 50,
|
57 |
-
"top_p": 1.0,
|
58 |
-
"torchscript": false,
|
59 |
-
"use_bfloat16": false,
|
60 |
"vocab_size": 50257
|
61 |
}
|
1 |
{
|
|
|
2 |
"activation_function": "gelu_new",
|
3 |
"architectures": [
|
4 |
"GPT2LMHeadModel"
|
5 |
],
|
6 |
"attn_pdrop": 0.1,
|
7 |
"bos_token_id": 50256,
|
|
|
|
|
|
|
8 |
"embd_pdrop": 0.1,
|
9 |
"eos_token_id": 50256,
|
|
|
|
|
|
|
|
|
|
|
10 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
"layer_norm_epsilon": 1e-05,
|
|
|
|
|
|
|
12 |
"model_type": "gpt2",
|
13 |
"n_ctx": 1024,
|
14 |
"n_embd": 1024,
|
16 |
"n_layer": 24,
|
17 |
"n_positions": 1024,
|
18 |
"n_special": 0,
|
|
|
|
|
|
|
|
|
|
|
19 |
"output_past": true,
|
|
|
20 |
"predict_special_tokens": true,
|
|
|
|
|
|
|
21 |
"resid_pdrop": 0.1,
|
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 |
"vocab_size": 50257
|
28 |
}
|