shibing624
commited on
Commit
•
a384336
1
Parent(s):
434e394
Update README.md
Browse files
README.md
CHANGED
@@ -8,7 +8,7 @@ tags:
|
|
8 |
- text-generation
|
9 |
license: "apache-2.0"
|
10 |
widget:
|
11 |
-
- text: "
|
12 |
|
13 |
---
|
14 |
|
@@ -37,6 +37,7 @@ T5的网络结构(原生T5):
|
|
37 |
>>> from textgen import T5Model
|
38 |
>>> model = T5Model("t5", "shibing624/t5-chinese-couplet")
|
39 |
>>> r = model.predict(["对联:丹枫江冷人初去"])
|
|
|
40 |
```
|
41 |
|
42 |
模型文件组成:
|
|
|
8 |
- text-generation
|
9 |
license: "apache-2.0"
|
10 |
widget:
|
11 |
+
- text: "对联:丹枫江冷人初去"
|
12 |
|
13 |
---
|
14 |
|
|
|
37 |
>>> from textgen import T5Model
|
38 |
>>> model = T5Model("t5", "shibing624/t5-chinese-couplet")
|
39 |
>>> r = model.predict(["对联:丹枫江冷人初去"])
|
40 |
+
['白石矶寒客不归']
|
41 |
```
|
42 |
|
43 |
模型文件组成:
|