A natural language database using a single GPT prompt
- Original article
- https://www.gwern.net/GPT-3#the-database-prompt
Summary
A single prompt describes transactions to and from a database.
GPT-3 is able to answer questions about the transactions that have taken place.
GPT-3 isn’t actually a database.
The LM simply understands language so well that describing the transactions that have taken place would naturally lead to the GPT-3 response.
The prompt
|
|
Demonstration
As you can see, the prompt only functions approximately as a database.
It could certainly be made more reliable either through adjusting parameters or by providing better counter-examples.
Utility
This ability of GPT-3 could be used for the NLP task of information extraction.
Thanks for reading!
If this article appears incomplete, it may be intentional. Try prompting for a continuation.
If this article appears incomplete, it may be intentional. Try prompting for a continuation.