dongxiaoqun
commited on
Commit
•
3f2623a
1
Parent(s):
adcc893
Update README.md
Browse files
README.md
CHANGED
@@ -24,7 +24,7 @@ from transformers import PegasusForConditionalGeneration
|
|
24 |
# Stronly recomend you git clone the Fengshenbang-LM repo:
|
25 |
# 1. git clone https://github.com/IDEA-CCNL/Fengshenbang-LM
|
26 |
# 2. cd Fengshenbang-LM/fengshen/examples/pegasus/
|
27 |
-
#
|
28 |
from tokenizers_pegasus import PegasusTokenizer
|
29 |
|
30 |
model = PegasusForConditionalGeneration.from_pretrained("IDEA-CCNL/randeng_pegasus_238M_summary")
|
|
|
24 |
# Stronly recomend you git clone the Fengshenbang-LM repo:
|
25 |
# 1. git clone https://github.com/IDEA-CCNL/Fengshenbang-LM
|
26 |
# 2. cd Fengshenbang-LM/fengshen/examples/pegasus/
|
27 |
+
# and then you will see the tokenizers_pegasus.py and data_utils.py which are needed by pegasus model
|
28 |
from tokenizers_pegasus import PegasusTokenizer
|
29 |
|
30 |
model = PegasusForConditionalGeneration.from_pretrained("IDEA-CCNL/randeng_pegasus_238M_summary")
|