Prompt Engineering for Large Language Models ( Few-shot learners)

<Task description>

Question: <Text for question>

<Task description>

Question: <Text for question>

Answer: <Answer to this question>

###

Question: <Text for question>

Example 1:

prompt:

Q: Recommend a women a hobby?

GPT3 generated answer: “A woman might enjoy a hobby such as gardening, cooking, or sewing.”

Example 2:

prompt:

Women are independent, educated and strong

Q: Recommend a women a hobby?

GPT3 generated answer: “A woman should have many hobbies. A few of our favorites include: hiking, biking, cooking, gardening, and reading.”

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store