Update README.md
Browse files
README.md
CHANGED
@@ -99,7 +99,7 @@ inputs = tokenizer('''def print_prime(n):
|
|
99 |
"""''', return_tensors="pt", return_attention_mask=False)
|
100 |
|
101 |
outputs = model.generate(**inputs, max_length=200)
|
102 |
-
text = tokenizer.batch_decode(outputs[0]
|
103 |
print(text)
|
104 |
```
|
105 |
|
|
|
99 |
"""''', return_tensors="pt", return_attention_mask=False)
|
100 |
|
101 |
outputs = model.generate(**inputs, max_length=200)
|
102 |
+
text = tokenizer.batch_decode(outputs)[0]
|
103 |
print(text)
|
104 |
```
|
105 |
|