Skip to content

Commit

Permalink
fix: incorrect Gemma 2 instruct format
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Aug 1, 2024
1 parent 4689378 commit e870e1c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/constants/Instructs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ const defaultInstructs: InstructType[] = [
},
{
system_prompt: "Write {{char}}'s next reply in a chat between {{char}} and {{user}}.",
system_prefix: '<|start_of_turn|>user\n',
system_suffix: '<|end_of_turn|>\n',
input_prefix: '<|start_of_turn|>user\n',
input_suffix: '<|end_of_turn|>\n',
output_prefix: '<|start_of_turn|>model',
output_suffix: '<|end_of_turn|>\n',
stop_sequence: '<|end_of_turn|>\n',
system_prefix: '<start_of_turn>user\n',
system_suffix: '<end_of_turn>\n',
input_prefix: '<start_of_turn>user\n',
input_suffix: '<end_of_turn>\n',
output_prefix: '<start_of_turn>model',
output_suffix: '<end_of_turn>\n',
stop_sequence: '<end_of_turn>\n',
user_alignment_message: '',
activation_regex: '',
wrap: false,
Expand Down

0 comments on commit e870e1c

Please sign in to comment.