Update README.md
Browse files
README.md
CHANGED
@@ -54,7 +54,7 @@ output_ids = model.generate(
|
|
54 |
**model_inputs,
|
55 |
max_length=100,
|
56 |
)
|
57 |
-
output_text = tokenizer.batch_decode(output_ids, skip_special_tokens=True)
|
58 |
clean_output = output_text.split("### Response:")[1].strip()
|
59 |
|
60 |
print(clean_output)
|
|
|
54 |
**model_inputs,
|
55 |
max_length=100,
|
56 |
)
|
57 |
+
output_text = tokenizer.batch_decode(output_ids, skip_special_tokens=True)[0]
|
58 |
clean_output = output_text.split("### Response:")[1].strip()
|
59 |
|
60 |
print(clean_output)
|