Update README.md
Browse files
README.md
CHANGED
@@ -119,7 +119,7 @@ prediction = model.generate(
|
|
119 |
temperature=0.7,
|
120 |
num_return_sequences=1,
|
121 |
)
|
122 |
-
prediction_text = tokenizer.decode(prediction[0])
|
123 |
print(prediction_text)
|
124 |
```
|
125 |
|
|
|
119 |
temperature=0.7,
|
120 |
num_return_sequences=1,
|
121 |
)
|
122 |
+
prediction_text = tokenizer.decode(prediction[0].tolist())
|
123 |
print(prediction_text)
|
124 |
```
|
125 |
|