mrm8488 commited on
Commit
b4a1811
1 Parent(s): 744cfe1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -95,7 +95,7 @@ out = model.generate(
95
 
96
  decoded = tokenizer.batch_decode(out)
97
  assistant_message = (
98
- decoded[0].split("<|assistant|>\n")[-1].replace(eos, "")
99
  )
100
 
101
  print(assistant_message)
 
95
 
96
  decoded = tokenizer.batch_decode(out)
97
  assistant_message = (
98
+ decoded[0].split("<|assistant|>\n")[-1].replace(eos_token, "")
99
  )
100
 
101
  print(assistant_message)