HiTruong commited on
Commit
cf05efb
·
verified ·
1 Parent(s): 07fb13e

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +32 -0
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "gpt2",
3
+ "n_ctx": 2048,
4
+ "n_positions": 2048,
5
+ "n_embd": 1536,
6
+ "n_layer": 24,
7
+ "n_head": 16,
8
+ "vocab_size": 50257,
9
+ "resid_pdrop": 0.1,
10
+ "embd_pdrop": 0.1,
11
+ "attn_pdrop": 0.1,
12
+ "layer_norm_epsilon": 1e-5,
13
+ "initializer_range": 0.02,
14
+ "bos_token_id": 0,
15
+ "eos_token_id": 2,
16
+ "summary_type": "cls_index",
17
+ "summary_use_proj": true,
18
+ "summary_activation": "tanh",
19
+ "summary_proj_to_labels": true,
20
+ "summary_first_dropout": 0.1,
21
+ "scale_attn_weights": true,
22
+ "use_cache": true,
23
+ "architectures": [
24
+ "GPT2LMHeadModel"
25
+ ],
26
+ "task_specific_params": {
27
+ "text-generation": {
28
+ "do_sample": true,
29
+ "max_length": 50
30
+ }
31
+ }
32
+ }