Skip to content

Commit

Permalink
fix starcoder stop fim_sep
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmacarthy committed Jul 8, 2024
1 parent 11dda96 commit 057c1a1
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 @@ -164,7 +164,7 @@ export const STOP_DEEPSEEK = [
'<|end▁of▁sentence|>'
]

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

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

Expand Down

0 comments on commit 057c1a1

Please sign in to comment.