jon-tow commited on
Commit
770b64b
1 Parent(s): 8e5c139

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -35,6 +35,6 @@ samples = model.generate(
35
  do_sample=False,
36
  )
37
  samples = tokenizer.batch_decode(samples, skip_special_tokens=True)
38
- for i, sample in enumerate(samples):
39
- print(f"Prompt: {prompts[i]}\nSample: {sample}\n")
40
  ```
 
35
  do_sample=False,
36
  )
37
  samples = tokenizer.batch_decode(samples, skip_special_tokens=True)
38
+ for prompt, sample in zip(prompts, samples):
39
+ print(f"Prompt: {prompt}\nSample: {sample}\n")
40
  ```