lvwerra HF staff commited on
Commit
2315b1e
·
verified ·
1 Parent(s): 479a7f7

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -224,7 +224,7 @@ def run_interactive_notebook(client, model, tokenizer, messages, sbx, max_new_to
224
  while True:
225
  input_tokens = tokenizer.apply_chat_template(
226
  messages,
227
- template=llama_template,
228
  builtin_tools=["code_interpreter"],
229
  add_generation_prompt=True
230
  )
 
224
  while True:
225
  input_tokens = tokenizer.apply_chat_template(
226
  messages,
227
+ chat_template=llama_template,
228
  builtin_tools=["code_interpreter"],
229
  add_generation_prompt=True
230
  )