diff --git a/utils/prompts.py b/utils/prompts.py index 10ae79f..b71001f 100644 --- a/utils/prompts.py +++ b/utils/prompts.py @@ -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