baize-chatbot icon indicating copy to clipboard operation
baize-chatbot copied to clipboard

Is this a typo in preprocess.py?

Open abdullin opened this issue 2 years ago • 0 comments

This line builds up the end of the prompt, which should be completed by LLM.

https://github.com/project-baize/baize-chatbot/blob/4fae6c4e550f087958c1f60746f0e6290e6b9f02/preprocess.py#L42C46-L42C46

            if s != "":
                prompt = "The conversation between human and AI assistant.\n"
                s = prompt + s + "[|Human|] "

Shouldn't the line end with [|AI|] and not [|HUMAN|]?

abdullin avatar Jul 10 '23 12:07 abdullin