Update config.json
Browse files- config.json +23 -25
config.json
CHANGED
@@ -1,30 +1,23 @@
|
|
1 |
{
|
2 |
"model_type": "gpt2",
|
3 |
"architectures": ["GPT2LMHeadModel"],
|
4 |
-
"
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
"
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
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 |
-
},
|
28 |
"task_specific_params": {
|
29 |
"conversational": {
|
30 |
"max_length": 1024,
|
@@ -69,11 +62,16 @@
|
|
69 |
"max_neurons": 250000,
|
70 |
"max_sequence_length": 1024,
|
71 |
"min_epochs_before_growth": 5,
|
72 |
-
"model_filename": "
|
73 |
"num_embeddings": 25000,
|
74 |
"pruning_improvement_threshold": 0.005,
|
75 |
"some_adaptation_rate": 0.05,
|
76 |
"stability_threshold": 0.02,
|
77 |
"start_token_index": 2
|
|
|
|
|
|
|
|
|
|
|
78 |
}
|
79 |
}
|
|
|
1 |
{
|
2 |
"model_type": "gpt2",
|
3 |
"architectures": ["GPT2LMHeadModel"],
|
4 |
+
"activation_function": "gelu_new",
|
5 |
+
"n_ctx": 2048,
|
6 |
+
"n_embd": 2048,
|
7 |
+
"n_head": 16,
|
8 |
+
"n_layer": 24,
|
9 |
+
"n_positions": 2048,
|
10 |
+
"n_special": 0,
|
11 |
+
"attn_pdrop": 0.1,
|
12 |
+
"embd_pdrop": 0.1,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"layer_norm_epsilon": 1e-05,
|
15 |
+
"resid_pdrop": 0.1,
|
16 |
+
"summary_activation": null,
|
17 |
+
"summary_first_dropout": 0.1,
|
18 |
+
"summary_proj_to_labels": true,
|
19 |
+
"summary_type": "cls_index",
|
20 |
+
"summary_use_proj": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
"task_specific_params": {
|
22 |
"conversational": {
|
23 |
"max_length": 1024,
|
|
|
62 |
"max_neurons": 250000,
|
63 |
"max_sequence_length": 1024,
|
64 |
"min_epochs_before_growth": 5,
|
65 |
+
"model_filename": "pytorch_model.bin",
|
66 |
"num_embeddings": 25000,
|
67 |
"pruning_improvement_threshold": 0.005,
|
68 |
"some_adaptation_rate": 0.05,
|
69 |
"stability_threshold": 0.02,
|
70 |
"start_token_index": 2
|
71 |
+
},
|
72 |
+
"tokenizer_config": {
|
73 |
+
"bos_token_id": 50256,
|
74 |
+
"eos_token_id": 50256,
|
75 |
+
"n_positions": 2048
|
76 |
}
|
77 |
}
|