mirror of
https://github.com/dair-ai/Prompt-Engineering-Guide
synced 2024-11-16 06:12:45 +00:00
LICENSE.md | ||
README.md |
Prompt Engineering Guide
This guide contains a set of learning guides and tools related to prompt engineering. It includes several materials, guides, examples, papers, and much more. The repo is intended to be used as a research and educational reference for practitioners and developers.
📣 Full lecture + notebook + exercises on the ~30th of January (announcement will happen on Twitter)
Table of Contents
Papers
-
Surveys / Overviews:
-
Applications:
-
Approaches/Techniques:
- Ask Me Anything: A simple strategy for prompting language models
- Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
- Large Language Models Are Human-Level Prompt Engineers
- BERTese: Learning to Speak to BERT
- Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
- Large Language Models are Zero-Shot Reasoners
- Language Models are Few-Shot Learners
- Structured Prompting: Scaling In-Context Learning to 1,000 Examples
- Chain of Thought Prompting Elicits Reasoning in Large Language Models
- Calibrate Before Use: Improving Few-Shot Performance of Language Models
- Reframing Instructional Prompts to GPTk's Language
- Promptagator: Few-shot Dense Retrieval From 8 Examples
- Teaching Algorithmic Reasoning via In-context Learning
- Prefix-Tuning: Optimizing Continuous Prompts for Generation
- Making Pre-trained Language Models Better Few-shot Learners
- Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigm
- A Taxonomy of Prompt Modifiers for Text-To-Image Generation
- PromptChainer: Chaining Large Language Model Prompts through Visual Programming
- How Can We Know What Language Models Know?
-
Collections:
Tools & Libraries
- OpenAI Playground
- GPTTools
- LangChain
- EveryPrompt
- DUST
- Dyno
- Prompts.ai
- Lexica
- Scale SpellBook
- Interactive Composition Explorer
- LearnGPT
- Promptable
- GPT Index
- Prompt Base
- Playground
- OpenPrompt
- Visual Prompt Builder
- Prompt Generator for OpenAI's DALL-E 2
- AI Test Kitchen
- betterprompt
- Prompt Engine
- PromptSource
- sharegpt
- DreamStudio
- PromptInject
Datasets
- PartiPrompts
- Real Toxicity Prompts
- DiffusionDB
- P3 - Public Pool of Prompts
- WritingPrompts
- Midjourney Prompts
- Awesome ChatGPT Prompts
- Stable Diffusion Dataset
- Anthropic's Red Team dataset, (paper)
Blog, Guides, Tutorials and Other Readings
- Pretrain, Prompt, Predict - A New Paradigm for NLP
- Prompt Engineering 101 - Introduction and resources
- Prompt Engineering by co:here
- Prompt Engineering by Microsoft
- Best practices for prompt engineering with OpenAI API
- Start with an Instruction
- CMU Advanced NLP 2022: Prompting
- Prompt Engineering 101: Autocomplete, Zero-shot, One-shot, and Few-shot prompting
- 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
- Mysteries of mode collapse
- 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
- A Generic Framework for ChatGPT Prompt Engineering
- Methods of prompt programming
- Prompt Engineering 101
- the Book - Fed Honeypot
- Curtis64's set of prompt gists
Lecture + Tutorial
Full tutorial and lecture coming soon!
Feel free to open a PR if you think something is missing here. Always welcome feedback and suggestions.
Join our Discord