lvwerra HF staff commited on
Commit
1014e22
·
verified ·
1 Parent(s): b373656

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -270,7 +270,7 @@ def run_interactive_notebook(client, model, tokenizer, messages, sbx, max_new_to
270
  yield update_notebook_display(notebook_data), messages
271
 
272
 
273
- print(f"last_tokens: {'|'.join(tokens[-10:])}")
274
  # Handle code execution
275
  if code_cell:
276
  notebook_data["cells"][-1]["execution_count"] = code_cell_counter
 
270
  yield update_notebook_display(notebook_data), messages
271
 
272
 
273
+ print(f"last_tokens: {'|'.join(tokens[-10:])}, n_msg: {len(messages)}")
274
  # Handle code execution
275
  if code_cell:
276
  notebook_data["cells"][-1]["execution_count"] = code_cell_counter