Update README.md
Browse files
README.md
CHANGED
@@ -48,7 +48,7 @@ tokenizer = TransfoXLTokenizer.from_pretrained('IDEA-CCNL/Randeng-TransformerXL-
|
|
48 |
### 使用示例 Usage Examples
|
49 |
|
50 |
```python
|
51 |
-
from fengshen.models.transfo_xl_paraphrase import
|
52 |
input_text = "年轻教师选择农村学校,还是县城学校?"
|
53 |
res = paraphrase_generate(model, tokenizer, input_text, device=0)
|
54 |
print(res)
|
|
|
48 |
### 使用示例 Usage Examples
|
49 |
|
50 |
```python
|
51 |
+
from fengshen.models.transfo_xl_paraphrase import paraphrase_generate
|
52 |
input_text = "年轻教师选择农村学校,还是县城学校?"
|
53 |
res = paraphrase_generate(model, tokenizer, input_text, device=0)
|
54 |
print(res)
|