Commit
·
54065e1
1
Parent(s):
b566562
Correct typos in usage (#7)
Browse files- Correct typo in usage (302c92b2b812fa8cf67819ca7223700a1606d8d3)
- Add missing comma (56a73c12712d85e147e067139da415fa432d0950)
Co-authored-by: Mark Browning <[email protected]>
README.md
CHANGED
@@ -59,7 +59,7 @@ outputs = model.generate(
|
|
59 |
)
|
60 |
|
61 |
# Convert the generated token IDs back to text
|
62 |
-
generated_text = tokenizer.batch_decode(outputs skip_special_tokens=True)
|
63 |
|
64 |
# Print the generated text
|
65 |
print(generated_text[0])
|
|
|
59 |
)
|
60 |
|
61 |
# Convert the generated token IDs back to text
|
62 |
+
generated_text = tokenizer.batch_decode(outputs, skip_special_tokens=True)
|
63 |
|
64 |
# Print the generated text
|
65 |
print(generated_text[0])
|