"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "261a53c8b1e24582f72542d47c7110f21934a641"
Commit 31d3373b authored by LysandreJik's avatar LysandreJik
Browse files

Appends space before special token

parent fede4ef4
......@@ -760,7 +760,7 @@ class PreTrainedTokenizer(object):
if current_sub_text:
sub_texts.append(self.convert_tokens_to_string(current_sub_text))
current_sub_text = []
sub_texts.append(token)
sub_texts.append(" " + token)
else:
current_sub_text.append(token)
if current_sub_text:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment