|
Hi Reader, Before today’s tip, I wanted to give you a heads up: Tomorrow, I’ll be launching something brand new! Watch out for the announcement 👀 👉 Tip #53: How to get great results from AI models through promptingIn the year after ChatGPT was released, I remember noticing two new trends:
My takeaway was that “prompting” must be really complex, and it was going to take a huge investment of time in order for me to get good at it. (In case you’re unfamiliar: “prompting” just means “inputting text into a Large Language Model.” Or more simply: “typing into ChatGPT.”) Since then, I’ve come to three conclusions about prompting:
📝 Simple tips for more effective promptsHere are my top tips for getting better at prompting, and thus increasing the chance that you will get great results from an LLM: Be very specific about what you want: How long should the answer be? What should the answer include? Who is the specific audience? What is the end goal of this task? Ask it to iterate: Within a given conversation, the model will remember everything you’ve said and everything it has replied (until it reaches the end of its “context window”). Thus if you’re not 100% satisfied with its answer, then tell it exactly how you want to improve! Give it a role: If you’re asking it a complex legal question (for example), you might get better results if you tell it to act like an expert lawyer. You can also use roles to adjust the writing tone of the results. Give it examples: If you need the answer in a specific format, give the model a few examples of what the output should look like for a given input. Ask it to think step-by-step: For complex tasks, guiding the model in how to approach the task step-by-step can result in better output. (The Claude documentation has a good example of this.) Try a different model: Every LLM is different, so if one isn’t helpful for a particular task, then just try another! I’ve talked previously about how to do this using Chatbot Arena or Typing Mind. 🧠Develop a mindset of abundanceI’ll leave you with one final tip from Ethan Mollick’s article, Getting started with AI: Good enough prompting: You don’t need to ask for one email, ask for three in different tones to inspire you. You don’t need to ask for one way to complete a sentence, ask for 15 options and see if that unlocks your writing. Don’t ask for 5 ideas, ask for 30. In fact, our research found that GPT-4 can generate thousands of ideas before a large percentage of them start to overlap. Your job becomes one of pushing for variation (“give me ideas that are 80% weirder”), recombination (“combine ideas 12 and 16”) and expansion (“more ideas like number 12”), before selecting one you like. 👋 See you on Wednesday!Be on the lookout for my launch announcement tomorrow! - Kevin P.S. Call your grandmother​ Did someone AWESOME forward you this email? Sign up here to receive weekly Artificial Intelligence tips! |
Join 25,000+ intelligent readers and receive AI tips every Tuesday!
Hi Reader, Data School's All-Access Pass is now on sale: Buy the pass for $99 With the All-Access Pass, you get access to ALL of my courses for a year, including every NEW course I launch during your subscription! That includes a secret new course I'll be launching on January 1 🤫 The $99 sale ENDS in one week, on Cyber Monday (November 30). By purchasing now, you'll lock in this discounted price for the lifetime of your subscription, which will get more valuable as I add more courses! Buy the...
Hi Reader, I'm excited to announce an "early Black Friday" sale of Data School's All-Access Pass 🎟 It's simple: You pay $99, and you get access to ALL of my courses for a year. The sale starts Monday, November 23, and ends on Cyber Monday, November 30. More info is below. Let me know if you have any questions! 💬 - Kevin All-Access Pass FAQ Which courses will I be able to access? While your subscription is active, you'll have access to ALL of Data School's paid courses: Build an AI chatbot...
Hi Reader, For 12 years, I've been teaching scikit-learn. It's the ideal tool for Machine Learning in Python, given its broad functionality, community support, and high-quality documentation. But there's a HUGE difference between documentation and an effective user manual. That's why I published Master Machine Learning with scikit-learn: I wanted to provide battle-tested guidance for achieving superior Machine Learning results. (Side note: Amazon US is currently offering a 34% discount on my...