Duino commited on
Commit
93c9fd5
·
verified ·
1 Parent(s): 6d99d88

Upload model/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. model/config.json +34 -0
model/config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.2,
7
+ "bos_token_id": 0,
8
+ "embd_pdrop": 0.2,
9
+ "eos_token_id": 1,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_ctx": 256,
14
+ "n_embd": 768,
15
+ "n_head": 12,
16
+ "n_inner": null,
17
+ "n_layer": 12,
18
+ "n_positions": 256,
19
+ "pad_token_id": 3,
20
+ "proj_pdrop": 0.2,
21
+ "reorder_and_upcast_attn": false,
22
+ "resid_pdrop": 0.2,
23
+ "scale_attn_by_inverse_layer_idx": false,
24
+ "scale_attn_weights": true,
25
+ "summary_activation": null,
26
+ "summary_first_dropout": 0.1,
27
+ "summary_proj_to_labels": true,
28
+ "summary_type": "cls_index",
29
+ "summary_use_proj": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.47.0",
32
+ "use_cache": true,
33
+ "vocab_size": 50000
34
+ }