HarryTrivedi commited on
Commit
ff017bf
·
verified ·
1 Parent(s): 9912eba

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +26 -0
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+
4
+ ### 2. config.json
5
+
6
+ This file defines your model’s architecture and hyperparameters. (Below is an example based on GPT‑2.)
7
+
8
+ ```json
9
+ {
10
+ "architectures": [
11
+ "GPT2LMHeadModel"
12
+ ],
13
+ "activation_function": "gelu_new",
14
+ "attn_pdrop": 0.1,
15
+ "bos_token_id": 50256,
16
+ "eos_token_id": 50256,
17
+ "hidden_dropout": 0.1,
18
+ "initializer_range": 0.02,
19
+ "model_type": "gpt2",
20
+ "n_ctx": 1024,
21
+ "n_embd": 768,
22
+ "n_head": 12,
23
+ "n_layer": 12,
24
+ "n_positions": 1024,
25
+ "resid_pdrop": 0.1
26
+ }