Update README.md
Browse files
README.md
CHANGED
@@ -54,5 +54,5 @@ with torch.no_grad():
|
|
54 |
repetition_penalty=1.15
|
55 |
).cuda()
|
56 |
output = tokenizer.decode(output_ids[0], skip_special_tokens=True)
|
57 |
-
print(output.replace(
|
58 |
```
|
|
|
54 |
repetition_penalty=1.15
|
55 |
).cuda()
|
56 |
output = tokenizer.decode(output_ids[0], skip_special_tokens=True)
|
57 |
+
print(output.replace(prompt, '').strip())
|
58 |
```
|