Update README.md
Browse files
README.md
CHANGED
@@ -83,7 +83,7 @@ out = model.generate(
|
|
83 |
|
84 |
decoded = tokenizer.batch_decode(out)
|
85 |
assistant_message = (
|
86 |
-
decoded[0].split("<|assistant|>\n")[-1].replace(
|
87 |
)
|
88 |
|
89 |
print(assistant_message)
|
|
|
83 |
|
84 |
decoded = tokenizer.batch_decode(out)
|
85 |
assistant_message = (
|
86 |
+
decoded[0].split("<|assistant|>\n")[-1].replace(eos_token, "")
|
87 |
)
|
88 |
|
89 |
print(assistant_message)
|