The Ultimate Guide to Prompting - with Sander Schulhoff from LearnPrompting.org
Sep 20, 2024 · 1:07:09
Sander Schulhoff, author of The Prompt Report and founder of LearnPrompting, presents a comprehensive taxonomy of 58 prompting techniques and argues that prompt engineering is a skill everyone should have, not a specialized role. He categorizes techniques by problem-solving strategy (zero-shot, few-shot, thought generation, decomposition, ensembling, self-criticism) and debunks role prompting for accuracy-based tasks, showing an 'idiot' prompt outperformed a 'genius' prompt on MMLU. Schulhoff shares his experience running Hack-a-Prompt, which collected 600,000 malicious prompts and won best paper at EMNLP, and differentiates between prompt injection and jailbreaking. He advocates for automatic prompt engineering with DSPy, which beat his manual effort in 10 minutes, and previews Hack-a-Prompt 2.0, aiming for a $500,000 prize pool to generate real-world harms for safety tuning.