system HF staff commited on
Commit
514a0fb
1 Parent(s): e9a864c

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +10 -1
config.json CHANGED
@@ -1,5 +1,8 @@
1
  {
2
  "activation_function": "gelu_new",
 
 
 
3
  "attn_pdrop": 0.1,
4
  "bos_token_id": 50256,
5
  "embd_pdrop": 0.1,
@@ -21,5 +24,11 @@
21
  "summary_proj_to_labels": true,
22
  "summary_type": "cls_index",
23
  "summary_use_proj": true,
24
- "vocab_size": 1393
 
 
 
 
 
 
25
  }
 
1
  {
2
  "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "TFGPT2LMHeadModel"
5
+ ],
6
  "attn_pdrop": 0.1,
7
  "bos_token_id": 50256,
8
  "embd_pdrop": 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
  }