PratikGautam commited on
Commit
ca06dfe
·
verified ·
1 Parent(s): 46d5ec0

Create model/config.json

Browse files
Files changed (1) hide show
  1. model/config.json +20 -0
model/config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "GPT2LMHeadModel"
4
+ ],
5
+ "n_ctx": 1024,
6
+ "n_embd": 768,
7
+ "n_head": 12,
8
+ "n_layer": 12,
9
+ "vocab_size": 50257,
10
+ "bos_token_id": 50256,
11
+ "eos_token_id": 50256,
12
+ "pad_token_id": 50256,
13
+ "activation_function": "gelu_new",
14
+ "initializer_range": 0.02,
15
+ "layer_norm_epsilon": 1e-5,
16
+ "resid_pdrop": 0.1,
17
+ "embd_pdrop": 0.1,
18
+ "attn_pdrop": 0.1,
19
+ "model_type": "gpt2"
20
+ }