Submitted by ofirpress t3_xvkhz9 in MachineLearning
Self-ask and Self-ask + Google Search
We just put out this preprint that shows that by simply using a new prompt (we call it Self-ask) you can improve the ability of GPT-3 to answer complex questions.
This prompt simply has the model ask (and answer) sub-questions before it answers the main input question.
​
Self-ask with a 1-shot prompt answering a question (using GPT-3)
The format of this prompt also allows for us to automatically parse out the subquestions and have Google answer them instead of GPT-3. This improves performance and allows this system to answer questions that GPT-3 or Google could not answer on their own.
​
Self-ask + Google Search: GPT-3 text in green, Google retrieved text in cyan.
​
Google answers this following question incorrectly:
​
But Self-ask + Google gets this right:
​
Our paper has lots more info:
The Self-ask + Google Search method is at:
https://github.com/ofirpress/self-ask/blob/main/self-ask_plus_search-engine_demo.ipynb
I'll be here to answer any questions!
13ass13ass t1_ir2qa5y wrote
As a hobbyist, I love it! This looks simple enough that I could implement it myself.
Except maybe I’d try changing out the google api with a database connection and have it perform sql queries as intermediate steps.
Could be fun! Eg put my family tree in the database and ask it “was my great uncle alive at the same time as my third cousin twice removed?” Etc.