liyucheng09/Selective_Context

question about ContinueConversation task

lizijian-buaa opened this issue · 4 comments

Hi. When reading the code, I think for the ContinueConversation task, u use all the conversion rounds to construct the input prompt, which includes the original GPT last-round reply. Is this a mis-implementation?
BTW, So glad to see such good work. Thx!

Thanks for your interests on selective-context.

Actually we use the whole context except the last utterence, see here for the details.

thx for your so quick reply, but I think the "prompt = '\n'.join(lines[:-1])" is not used in the code. Should we set sections=[prompt , last_response] instead of [content, last_response].

could you run a debug and check here. To see whether it's using the correct context?

Oh, I see. Thx a lot.