update
Browse filesSigned-off-by: mymusise <mymusise1@gmail.com>
- README.md +3 -0
- 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":
|
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 |
},
|