Fan9494 commited on
Commit
4cf2360
·
verified ·
1 Parent(s): 4d77a8a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -46,7 +46,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
46
  messages = [
47
  {"role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required -"
48
  + json.dumps(input_example["tools"], ensure_ascii=False)},
49
- {"role": "user", "content": input_example["tools"]}
50
  ]
51
  text = tokenizer.apply_chat_template(
52
  messages,
 
46
  messages = [
47
  {"role": "system", "content": "You are a helpful assistant with access to the following functions. Use them if required -"
48
  + json.dumps(input_example["tools"], ensure_ascii=False)},
49
+ {"role": "user", "content": input_example["query"]}
50
  ]
51
  text = tokenizer.apply_chat_template(
52
  messages,