hhou435 commited on
Commit
1bd5306
1 Parent(s): af4ae2f

First version of the gpt2-chinese-poem

Browse files
Files changed (1) hide show
  1. config.json +7 -0
config.json CHANGED
@@ -30,6 +30,13 @@
30
  "summary_proj_to_labels": true,
31
  "summary_type": "cls_index",
32
  "summary_use_proj": true,
 
 
 
 
 
 
 
33
  "tokenizer_class": "BertTokenizer",
34
  "vocab_size": 21128
35
  }
 
30
  "summary_proj_to_labels": true,
31
  "summary_type": "cls_index",
32
  "summary_use_proj": true,
33
+ "task_specific_params": {
34
+ "text-generation": {
35
+ "do_sample": true,
36
+ "max_length": 120,
37
+ "repetition_penalty": 1.3
38
+ }
39
+ },
40
  "tokenizer_class": "BertTokenizer",
41
  "vocab_size": 21128
42
  }