Update README.md
Browse files
README.md
CHANGED
@@ -29,4 +29,5 @@ batch = tokenizer(
|
|
29 |
)
|
30 |
with torch.no_grad():
|
31 |
generated = model.generate(inputs = batch["input_ids"], max_length=200, do_sample=True, top_k=50)
|
32 |
-
print('model predict: ',tokenizer.decode(generated[0]))
|
|
|
|
29 |
)
|
30 |
with torch.no_grad():
|
31 |
generated = model.generate(inputs = batch["input_ids"], max_length=200, do_sample=True, top_k=50)
|
32 |
+
print('model predict: ',tokenizer.decode(generated[0]))
|
33 |
+
```
|