system HF staff commited on
Commit
40d0156
1 Parent(s): 557a62b

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +10 -8
config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "activation_function": "gelu_new",
3
  "architectures": [
4
  "TFGPT2LMHeadModel"
@@ -11,24 +12,25 @@
11
  "initializer_range": 0.02,
12
  "layer_norm_epsilon": 1e-05,
13
  "model_type": "gpt2",
14
- "n_ctx": 512,
15
- "n_embd": 768,
16
- "n_head": 12,
17
  "n_inner": null,
18
- "n_layer": 12,
19
- "n_positions": 512,
20
  "pad_token_id": 0,
21
  "resid_pdrop": 0.1,
 
22
  "summary_activation": null,
23
  "summary_first_dropout": 0.1,
24
  "summary_proj_to_labels": true,
25
  "summary_type": "cls_index",
26
  "summary_use_proj": true,
27
- "vocab_size": 1393,
28
  "task_specific_params": {
29
  "text-generation": {
30
  "do_sample": true,
31
- "max_length": 50
32
  }
33
- }
 
34
  }
 
1
  {
2
+ "_name_or_path": "/data/novels/models/",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "TFGPT2LMHeadModel"
 
12
  "initializer_range": 0.02,
13
  "layer_norm_epsilon": 1e-05,
14
  "model_type": "gpt2",
15
+ "n_ctx": 1024,
16
+ "n_embd": 1024,
17
+ "n_head": 16,
18
  "n_inner": null,
19
+ "n_layer": 24,
20
+ "n_positions": 1024,
21
  "pad_token_id": 0,
22
  "resid_pdrop": 0.1,
23
+ "return_dict": true,
24
  "summary_activation": null,
25
  "summary_first_dropout": 0.1,
26
  "summary_proj_to_labels": true,
27
  "summary_type": "cls_index",
28
  "summary_use_proj": true,
 
29
  "task_specific_params": {
30
  "text-generation": {
31
  "do_sample": true,
32
+ "max_length": 120
33
  }
34
+ },
35
+ "vocab_size": 8021
36
  }