mrm8488 commited on
Commit
6212a3f
1 Parent(s): 605742c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -83,7 +83,7 @@ out = model.generate(
83
 
84
  decoded = tokenizer.batch_decode(out)
85
  assistant_message = (
86
- decoded[0].split("<|assistant|>\n")[-1].replace(eos, "")
87
  )
88
 
89
  print(assistant_message)
 
83
 
84
  decoded = tokenizer.batch_decode(out)
85
  assistant_message = (
86
+ decoded[0].split("<|assistant|>\n")[-1].replace(eos_token, "")
87
  )
88
 
89
  print(assistant_message)