This guide contains a non-exhaustive set of learning guides and tools about prompt engineering. It includes several materials, guides, examples, papers, and much more. The repo is intented to be used as a research and educational reference for practitioners and developers.
Table of Contents
- Surveys / Overviews:
- Applications:
- Legal Prompt Engineering for Multilingual Legal Judgement Prediction | pdf | arxiv
- Investigating Prompt Engineering in Diffusion Models | pdf | arxiv
- Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Language | pdf | arxiv
- Piloting Copilot and Codex: Hot Temperature, Cold Prompts, or Black Magic? | pdf | arxiv
- Approaches/Techniques:
- Ask Me Anything: A simple strategy for prompting language models | pdf | paperswitchcode
- Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity | pdf | arxiv
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts | pdf | arxiv
- Large Language Models Are Human-Level Prompt Engineers | pdf | www
- Structured Prompting: Scaling In-Context Learning to 1,000 Examples | pdf | arxiv
- Reframing Instructional Prompts to GPTk's Language | pdf | arxiv
- Promptagator: Few-shot Dense Retrieval From 8 Examples | pdf | arxiv
- Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigm | pdf | www
- PromptChainer: Chaining Large Language Model Prompts through Visual Programming | pdf | arxiv
- Other Collections:
- OpenAI Playground
- GPTTools
- Lexica
- Prompt Base
- Playground
- OpenPrompt
- Visual Prompt Builder
- Prompt Generator for OpenAI's DALL-E 2
- AI Test Kitchen
- Prompt Engine
- PromptSource
- sharegpt
- PartiPrompts
- Real Toxicity Prompts
- DiffusionDB
- P3 - Public Pool of Prompts
- WritingPrompts
- Midjourney Prompts
- Awesome ChatGPT Prompts
- Stable Diffusion Dataset
- Prompt Engineering by co:here | [pdf](files/articles/cohere - Prompt Engineering.pdf) | www
- Prompt Engineering by Microsoft
- Best practices for prompt engineering with OpenAI API
- Start with an Instruction
- Prompt engineering davinci-003 on our own docs for automated support (Part I)
- DALLE Prompt Book
- DALL·E 2 Prompt Engineering Guide
- Prompt injection attacks against GPT-3
- Language Models and Prompt Engineering: Systematic Survey of Prompting Methods in NLP
- A Complete Introduction to Prompt Engineering for Large Language Models
- Learn Prompting
- 3 Principles for prompt engineering with GPT-3
- Extrapolating to Unnatural Language Processing with GPT-3's In-context Learning: The Good, the Bad, and the Mysterious
- Prompt Engineering Topic by GitHub
- Prompt Engineering Template
- Awesome ChatGPT Prompts
- Prompt Engineering: From Words to Art
- NLP for Text-to-Image Generators: Prompt Analysis
- GPT3 and Prompts: A quick primer
- Prompt Engineering in GPT-3
- Talking to machines: prompt engineering & injection
- A beginner-friendly guide to generative language models - LaMBDA guide
- Giving GPT-3 a Turing Test
- Prompts as Programming by Gwern
- AI Content Generation
- How to Draw Anything
- How to write good prompts
- Prompting Methods with Language Models and Their Applications to Weak Supervision
- How to get images that don't suck
- Best 100+ Stable Diffusion Prompts
- Notes for Prompt Engineering by sw-yx
Full tutorial and lecture coming soon!
Feel free to open a PR if you think something is missing here. Always welcome feedback and suggestions.