eek commited on
Commit
c2ba064
1 Parent(s): 133785d

Update: fix typo on python example

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -114,6 +114,7 @@ prompt = tokenizer.apply_chat_template(chat, tokenize=False)
114
  # We need to remove the last <|im_end|> token so that the AI continues generation
115
  prompt = prompt[::-1].replace("<|im_end|>"[::-1], "", 1)[::-1]
116
 
117
- response = generate(model, tokenizer, prompt=prompt, verbose=True, temp=0.6, max_tokens=1500)```
 
118
 
119
  Converted and uploaded by [eek](https://huggingface.co/eek)
 
114
  # We need to remove the last <|im_end|> token so that the AI continues generation
115
  prompt = prompt[::-1].replace("<|im_end|>"[::-1], "", 1)[::-1]
116
 
117
+ response = generate(model, tokenizer, prompt=prompt, verbose=True, temp=0.6, max_tokens=1500)
118
+ ```
119
 
120
  Converted and uploaded by [eek](https://huggingface.co/eek)