Skip to content

Commit 0d6d135

Browse files
committed
Encode special tokens in Chat-RP mode
1 parent 166774b commit 0d6d135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: backend/prompts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def format(self, prompt, response, system_prompt, settings):
3939
raise NotImplementedError
4040

4141
def encode_special_tokens(self):
42-
return False
42+
return True
4343

4444

4545
class PromptFormat_llama(PromptFormat):

0 commit comments

Comments
 (0)