Confirm prompt template

#1
by YearZero - opened

There is no space between ### and Human or ### and Assistant? Just want to confirm cuz that's different than the usual version of this.

###Human: prompt
###Assistant:

I don't know for certain, but I think so because that's the example they have throughout the LMFlow Github.

For example, this is listed as a demo/test prompt in their Github README:

pip install gradio
python ./examples/chatbot_gradio.py --deepspeed configs/ds_config_chatbot.json --model_name_or_path YOUR-LLAMA  --lora_model_path ./robin-7b --prompt_structure "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions.###Human: {input_text}###Assistant:"       --end_string "#" --max_new_tokens 200

And in docs/source/examples/raft.md it has stuff like this :

image.png

And likewise in service/app.py:

image.png

So yeah, in the absence of any other evidence, I would use that first.

Sounds reasonable to me! Also when I used a different prompt template, I actually saw its response include ###Human at some point (sometimes models just spit out their own prompt templates), so I'll roll with it, thank you!

YearZero changed discussion status to closed

Sign up or log in to comment