Update README.md
Browse files
README.md
CHANGED
@@ -126,7 +126,7 @@ prediction = model.generate(
|
|
126 |
temperature=0.7,
|
127 |
num_return_sequences=1,
|
128 |
)
|
129 |
-
prediction_text = tokenizer.decode(prediction[0])
|
130 |
print(prediction_text)
|
131 |
```
|
132 |
|
|
|
126 |
temperature=0.7,
|
127 |
num_return_sequences=1,
|
128 |
)
|
129 |
+
prediction_text = tokenizer.decode(prediction[0].tolist())
|
130 |
print(prediction_text)
|
131 |
```
|
132 |
|