Skip to content

Commit

Permalink
fix stop tokens, can probably be better though
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmacarthy committed Sep 25, 2024
1 parent 6c937a6 commit 1458aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export const STOP_DEEPSEEK = [
'<|end▁of▁sentence|>'
]

export const STOP_STARCODER_QWEN = ['<|endoftext|>', '<file_sep>', '<fim_prefix>']
export const STOP_STARCODER_QWEN = ['<file_sep>', '<fim_prefix>', '<|file_sep|>', '<|fim_prefix|>', '<|endoftext|>']

export const STOP_CODEGEMMA = ['<|file_separator|>', '<|end_of_turn|>', '<eos>']

Expand Down

0 comments on commit 1458aa1

Please sign in to comment.