Update config.json
Browse files- config.json +51 -0
config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"GPT2LMHeadModel"
|
4 |
+
],
|
5 |
+
"attn_pdrop": 0.1,
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"do_sample": false,
|
8 |
+
"embd_pdrop": 0.1,
|
9 |
+
"eos_token_ids": 0,
|
10 |
+
"finetuning_task": null,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0",
|
13 |
+
"1": "LABEL_1"
|
14 |
+
},
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"is_decoder": false,
|
17 |
+
"label2id": {
|
18 |
+
"LABEL_0": 0,
|
19 |
+
"LABEL_1": 1
|
20 |
+
},
|
21 |
+
"layer_norm_epsilon": 1e-05,
|
22 |
+
"length_penalty": 1.0,
|
23 |
+
"max_length": 20,
|
24 |
+
"model_type": "gpt2",
|
25 |
+
"n_ctx": 1024,
|
26 |
+
"n_embd": 768,
|
27 |
+
"n_head": 12,
|
28 |
+
"n_layer": 12,
|
29 |
+
"n_positions": 1024,
|
30 |
+
"num_beams": 1,
|
31 |
+
"num_labels": 2,
|
32 |
+
"num_return_sequences": 1,
|
33 |
+
"output_attentions": false,
|
34 |
+
"output_hidden_states": false,
|
35 |
+
"output_past": true,
|
36 |
+
"pad_token_id": 0,
|
37 |
+
"pruned_heads": {},
|
38 |
+
"repetition_penalty": 1.0,
|
39 |
+
"resid_pdrop": 0.1,
|
40 |
+
"summary_activation": null,
|
41 |
+
"summary_first_dropout": 0.1,
|
42 |
+
"summary_proj_to_labels": true,
|
43 |
+
"summary_type": "cls_index",
|
44 |
+
"summary_use_proj": true,
|
45 |
+
"temperature": 1.0,
|
46 |
+
"top_k": 50,
|
47 |
+
"top_p": 1.0,
|
48 |
+
"torchscript": false,
|
49 |
+
"use_bfloat16": false,
|
50 |
+
"vocab_size": 30000
|
51 |
+
}
|