vincentamato commited on
Commit
9d94e02
·
verified ·
1 Parent(s): 8878699

Upload 2 files

Browse files
Files changed (2) hide show
  1. gpt2.safetensors +3 -0
  2. gpt2_config.json +29 -0
gpt2.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:248dfc3911869ec493c76e65bf2fcf7f615828b0254c12b473182f0f81d3a707
3
+ size 548105171
gpt2_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": ["GPT2LMHeadModel"],
4
+ "attn_pdrop": 0.1,
5
+ "bos_token_id": 50256,
6
+ "embd_pdrop": 0.1,
7
+ "eos_token_id": 50256,
8
+ "initializer_range": 0.02,
9
+ "layer_norm_epsilon": 1e-5,
10
+ "model_type": "gpt2",
11
+ "n_ctx": 1024,
12
+ "n_embd": 768,
13
+ "n_head": 12,
14
+ "n_layer": 12,
15
+ "n_positions": 1024,
16
+ "resid_pdrop": 0.1,
17
+ "summary_activation": null,
18
+ "summary_first_dropout": 0.1,
19
+ "summary_proj_to_labels": true,
20
+ "summary_type": "cls_index",
21
+ "summary_use_proj": true,
22
+ "task_specific_params": {
23
+ "text-generation": {
24
+ "do_sample": true,
25
+ "max_length": 50
26
+ }
27
+ },
28
+ "vocab_size": 50257
29
+ }