Update README.md
Browse files
README.md
CHANGED
@@ -70,7 +70,7 @@ out = model.generate(
|
|
70 |
|
71 |
decoded = tokenizer.batch_decode(out)
|
72 |
assistant_message = (
|
73 |
-
decoded[0].split("<|assistant|>\n")[-1].replace(
|
74 |
)
|
75 |
|
76 |
print(assistant_message)
|
|
|
70 |
|
71 |
decoded = tokenizer.batch_decode(out)
|
72 |
assistant_message = (
|
73 |
+
decoded[0].split("<|assistant|>\n")[-1].replace(eos_token, "")
|
74 |
)
|
75 |
|
76 |
print(assistant_message)
|