Everything I'll forget about prompting LLMs
This isn't written by ChatGPT. Claude and friends had no hand making this guide. This is three hours of sit-down writing, so forgive me for changes in tone or descriptors as you read on. In other news, WishfulSearch (natural-language search for complex JSON) is open-source now, and a lot of the techniques in this guide are implemented there. Check it out on github! When you have a problem with an LLM, prompting should ideally be your first approach. Reach for finetuning, or smarter more expensive models once your prompts are as good as they can be - or you're leaving money and performance on the table. Try the techniques in this guide before you consider other options. Finding a good prompt can be the difference between 12 cents per thousand tokens and 0.2 cents per thousand tokens, or even 0.1. It can also be the difference between needing 40 GB of VRAM (which costs $20k), 20GB ($2K) or 8 GB ($300). But why not finetune? Models change all the time, and the dataset and compute requirem
Everything I'll forget about prompting LLMs Hrishi Olickel Everything I'll forget about prompting LLMs A definitive guide to my future self This isn't written by ChatGPT. Claude and friends had no hand making this guide. This is three hours of sit-down writing, so forgive me for changes in tone or descriptors as you read on. In other news, WishfulSearch (natural-language search for complex JSON) is open-source now, and a lot of the techniques in this guide are implemented there. Check it out on github ! When you have a problem with an LLM, prompting should ideally be your first approach. Reach
Explore this link on the map →related reading
- Prompting Fundamentals and How to Apply them Effectivelyeugeneyan.com
- LLM Powered Autonomous Agents | Lil'Loglilianweng.github.io
- Patterns for Building LLM-based Systems & Productseugeneyan.com
- GitHub - brexhq/prompt-engineering: Tips and tricks for working with Large Language Models like OpenAI's GPT-4. · GitHubgithub.com
- Prompt Chaining | Prompt Engineering Guidepromptingguide.ai
- Prompt engineering | OpenAI APIplatform.openai.com
- Prompt Engineering | Lil'Loglilianweng.github.io
- [2210.02441] Ask Me Anything: A simple strategy for prompting language modelsarxiv.org
- Building LLM applications for productionhuyenchip.com
- My 5 Favorite AI Prompts for Writing - by Peter Yangcreatoreconomy.so
- Prompts for Work & Play: Launching the Wolfram Prompt Repository-Stephen Wolfram Writingswritings.stephenwolfram.com
- Prompt Engineering | Kagglekaggle.com