the chat template is incorrect

#2
by eramax - opened

please use this in the example

sys_prompt = "You are an AI language model developed by IBM Research. You are a cautious assistant. You carefully follow instructions. You are helpful and harmless and you follow ethical guidelines and promote positive behavior."

prompt = f'<|system|>\n{sys_prompt}\n<|user|>\n{inputs}\n<|assistant|>\n'
stop_token = '<|endoftext|>'

Hi,

I think the chat template in the README is just an example, we should look into the original model to check the correct chat_template. So this is the correct template? (I can update the README)

Sign up or log in to comment