MohammadrezaPourreza / Few-shot-NL2SQL-with-prompting

MIT License
305 stars 61 forks source link

How to pick the examples for demonstrations ? #16

Closed yyq closed 11 months ago

yyq commented 12 months ago

Thank you for the research and the code. I'm trying this method on another dataset, I want to write some similar demonstrations for all the prompts. I want to konw, when you write the demonstrations, did you pick example from the dataset randomly ? or with some strategy ?

MohammadrezaPourreza commented 11 months ago

Thank you so much for your interest in this work, based on recent papers on prompting it is suggested to always choose the most complex examples.

yyq commented 11 months ago

Thanks.