Running OpenAI GPT-3 tasks
In this section, we will run GPT-3 in two different ways:
- We will first run the GPT-3 tasks online with no code
- We will then implement GPT-3 in Google Colab notebook
We will be using GPT-3 engines in this book. When you sign up for the GPT-3 API, OpenAI gives you a free budget to get started. This free budget should cover most of the cost, if not all of the cost, of running the examples in this book once or twice.
Let’s begin by running NLP tasks online.
Running NLP tasks online
We will now go through some Industry 4.0 examples without an API, directly asking GPT-3 to do something for us.
Let us define a standard structure of a prompt and response as:
- N = name of the NLP task (INPUT).
- E = explanation for the GPT-3 engine. E precedes T (INPUT).
- T = the text or content we wish GPT-3 to look into (INPUT).
- S = showing GPT-3 what is expected. S follows T and is added when...