dongxiaoqun
commited on
Commit
·
6bfbfeb
1
Parent(s):
ea47bdd
Update README.md
Browse files
README.md
CHANGED
@@ -23,6 +23,7 @@ Task: Summarization
|
|
23 |
## Usage
|
24 |
```python
|
25 |
from transformers import PegasusForConditionalGeneration,BertTokenizer
|
|
|
26 |
import jieba
|
27 |
jieba.initialize()
|
28 |
# Need to download tokenizers_pegasus.py and other Python script from Fengshenbang-LM github repo in advance,
|
|
|
23 |
## Usage
|
24 |
```python
|
25 |
from transformers import PegasusForConditionalGeneration,BertTokenizer
|
26 |
+
from typing import List, Optional
|
27 |
import jieba
|
28 |
jieba.initialize()
|
29 |
# Need to download tokenizers_pegasus.py and other Python script from Fengshenbang-LM github repo in advance,
|