Skip to content

Commit

Permalink
Removed placholder lagging print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ojh31 committed Nov 22, 2023
1 parent ba79d68 commit 4aef8cb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utils/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,8 @@ def get_placeholder_positions(self, token_list: List[str]) -> Dict[str, List[int
]
if format_string.find(token, format_idx) >= 0:
format_idx = format_string.find(token, format_idx) + len(token)
print(format_string.find(token, format_idx), len(token), format_idx)
elif curr_sub_token is not None:
out[curr_sub_token] = out.get(curr_sub_token, []) + [token_index]
print("out", out)
return out


Expand Down

0 comments on commit 4aef8cb

Please sign in to comment.