Closed vedantroy closed 1 year ago
Also, when formatting an input for Vicuna, do I always need to have the entire input be on a single line. (Since, presumably, this is how Vicuna was trained?)
The template you mentioned is for vicuna-v0 (https://github.com/lm-sys/FastChat/blob/73ea04dec7832de68783a68a424d374c85e3a29d/fastchat/conversation.py#L142) For vicuna-v1.1, we use a different one https://github.com/lm-sys/FastChat/blob/73ea04dec7832de68783a68a424d374c85e3a29d/fastchat/conversation.py#L181
I think you can play with different prompts and see how they work. Vicuna is trained on its default template, but I guess sometimes LLMs can generalize to other prompts well.
It looks like the default template is as follows:
Where there is a single system message at the start of the prompt. I'm wondering, is it possible to to have multiple system messages?