Update README.md
Browse files
README.md
CHANGED
@@ -89,8 +89,7 @@ outputs = pipeline(
|
|
89 |
top_p=1,
|
90 |
repetition_penalty=1.05
|
91 |
)
|
92 |
-
|
93 |
-
print(tokenizer.decode(response, skip_special_tokens=True))
|
94 |
```
|
95 |
|
96 |
## 资源
|
|
|
89 |
top_p=1,
|
90 |
repetition_penalty=1.05
|
91 |
)
|
92 |
+
print(outputs[0]["generated_text"][len(prompt):])
|
|
|
93 |
```
|
94 |
|
95 |
## 资源
|