gugarosa commited on
Commit
710686f
1 Parent(s): 523a3d6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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