AlexBeneath commited on
Commit
0a6ee13
verified
1 Parent(s): fbd7df4

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +27 -0
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "gpt2",
3
+ "vocab_size": 50257,
4
+ "n_positions": 1024,
5
+ "n_ctx": 1024,
6
+ "n_embd": 768,
7
+ "n_layer": 12,
8
+ "n_head": 12,
9
+ "activation_function": "gelu_new",
10
+ "resid_pdrop": 0.1,
11
+ "embd_pdrop": 0.1,
12
+ "attn_pdrop": 0.1,
13
+ "layer_norm_epsilon": 1e-5,
14
+ "initializer_range": 0.02,
15
+ "summary_type": "cls_index",
16
+ "summary_use_proj": true,
17
+ "summary_activation": "tanh",
18
+ "summary_proj_to_labels": true,
19
+ "summary_first_dropout": 0.1,
20
+ "task_specific_params": {
21
+ "text-generation": {
22
+ "temperature": 0.7,
23
+ "top_p": 0.9,
24
+ "top_k": 50
25
+ }
26
+ }
27
+ }