Skip to content

Commit

Permalink
Minor adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudotensor committed Mar 30, 2024
1 parent e330cc6 commit 40af567
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -5875,7 +5875,8 @@ def get_limited_prompt(instruction,
if use_chat_template:
context2 = apply_chat_template(instruction, system_prompt, history, tokenizer)
iinput = ''
context = ''
context1 = ''
num_context1_tokens = 0
else:
context2 = history_to_context_func(history)

Expand Down

0 comments on commit 40af567

Please sign in to comment.