timlim123 Timothy Lim commited on
Commit
03c6318
1 Parent(s): 40a6362

fixing prompt template of chatml by removal of linebreak (#922)

Browse files

Co-authored-by: Timothy Lim <timothyyonglee.lim@kxrdev.com>

src/axolotl/prompt_strategies/sharegpt.py CHANGED
@@ -13,7 +13,7 @@ register_conv_template(
13
  system_message="You are a helpful assistant.",
14
  roles=["<|im_start|>user", "<|im_start|>assistant"],
15
  sep_style=SeparatorStyle.CHATML,
16
- sep="<|im_end|>\n",
17
  )
18
  )
19
 
 
13
  system_message="You are a helpful assistant.",
14
  roles=["<|im_start|>user", "<|im_start|>assistant"],
15
  sep_style=SeparatorStyle.CHATML,
16
+ sep="<|im_end|>",
17
  )
18
  )
19