mymusise commited on
Commit
c40356a
1 Parent(s): 5a2f3cb

update config

Browse files

Signed-off-by: mymusise <[email protected]>

Files changed (1) hide show
  1. config.json +3 -2
config.json CHANGED
@@ -1,7 +1,6 @@
1
  {
2
  "_name_or_path": "/data/wiki_zh/models/",
3
  "activation_function": "gelu_new",
4
- "tokenizer_class": "BertTokenizer",
5
  "architectures": [
6
  "TFGPT2LMHeadModel"
7
  ],
@@ -30,8 +29,10 @@
30
  "task_specific_params": {
31
  "text-generation": {
32
  "do_sample": true,
33
- "max_length": 120
 
34
  }
35
  },
 
36
  "vocab_size": 8021
37
  }
 
1
  {
2
  "_name_or_path": "/data/wiki_zh/models/",
3
  "activation_function": "gelu_new",
 
4
  "architectures": [
5
  "TFGPT2LMHeadModel"
6
  ],
 
29
  "task_specific_params": {
30
  "text-generation": {
31
  "do_sample": true,
32
+ "max_length": 120,
33
+ "repetition_penalty": 1.3
34
  }
35
  },
36
+ "tokenizer_class": "BertTokenizer",
37
  "vocab_size": 8021
38
  }