quwsarohi commited on
Commit
cb9214a
·
verified ·
1 Parent(s): 264af4d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -223,7 +223,7 @@ It is suggested to add `'''json\n` tokens as prefill during inference. This show
223
  messages = [
224
  {"role": "system", "content": TOOL_TEMPLATE.format(tools=json.dumps(tools, indent=2))},
225
  {"role": "user", "content": "What's the latest AI news?"},
226
- {"role": "user", "content": "```json\n"}
227
  ]
228
 
229
  input_text = tokenizer.apply_chat_template(
 
223
  messages = [
224
  {"role": "system", "content": TOOL_TEMPLATE.format(tools=json.dumps(tools, indent=2))},
225
  {"role": "user", "content": "What's the latest AI news?"},
226
+ {"role": "assistant", "content": "```json\n"}
227
  ]
228
 
229
  input_text = tokenizer.apply_chat_template(