YJiangcm/Lion

example generation

Closed this issue · 2 comments

hi, thanks for release your code. i would like to ask why you concat all the instruction and input in the prompt to get the new prompt?
looking forward to your reply. thanks.

Thanks for your question. The function encode_prompt in src/generate_hard_instruction.py indeed supports concatenating several instructions to get the new prompt. But in our implementation, we set num_prompt_instructions=1 to use only one instruction for obtaining the new prompt.

thanks for your reply