mymusise commited on
Commit
ea58404
1 Parent(s): c40356a

Signed-off-by: mymusise <mymusise1@gmail.com>

Files changed (2) hide show
  1. README.md +3 -0
  2. config.json +1 -1
README.md CHANGED
@@ -2,6 +2,9 @@
2
  language: zh
3
  ---
4
 
 
 
 
5
  # gpt2-medium-chinese
6
 
7
 
 
2
  language: zh
3
  ---
4
 
5
+ widget:
6
+ - text: 今天是下雨天
7
+
8
  # gpt2-medium-chinese
9
 
10
 
config.json CHANGED
@@ -29,7 +29,7 @@
29
  "task_specific_params": {
30
  "text-generation": {
31
  "do_sample": true,
32
- "max_length": 120,
33
  "repetition_penalty": 1.3
34
  }
35
  },
 
29
  "task_specific_params": {
30
  "text-generation": {
31
  "do_sample": true,
32
+ "max_length": 64,
33
  "repetition_penalty": 1.3
34
  }
35
  },