Update README.md

This commit is contained in:
Gustavo de Rosa 2024-04-17 13:52:46 +00:00 committed by system
parent 523a3d62e7
commit 710686f446
No known key found for this signature in database
GPG Key ID: 6A528E38E0733467

@ -99,7 +99,7 @@ inputs = tokenizer('''def print_prime(n):
"""''', return_tensors="pt", return_attention_mask=False)
outputs = model.generate(**inputs, max_length=200)
text = tokenizer.batch_decode(outputs[0])
text = tokenizer.batch_decode(outputs)[0]
print(text)
```