Update README.md
Browse files
README.md
CHANGED
@@ -95,7 +95,7 @@ out = model.generate(
|
|
95 |
|
96 |
decoded = tokenizer.batch_decode(out)
|
97 |
assistant_message = (
|
98 |
-
decoded[0].split("<|assistant|>\n")[-1].replace(
|
99 |
)
|
100 |
|
101 |
print(assistant_message)
|
|
|
95 |
|
96 |
decoded = tokenizer.batch_decode(out)
|
97 |
assistant_message = (
|
98 |
+
decoded[0].split("<|assistant|>\n")[-1].replace(eos_token, "")
|
99 |
)
|
100 |
|
101 |
print(assistant_message)
|