Prompt-Engineering-Guide/README.md

64 lines
3.4 KiB
Markdown
Raw Normal View History

2022-12-17 00:07:07 +08:00
# Prompt Engineering Guide
2022-12-17 00:05:47 +08:00
2023-02-25 13:50:19 +08:00
Prompt engineering is a relatively new discipline for developing and optimizing prompts to efficiently use language models (LMs) for a wide variety of applications and research topics. Prompt engineering skills help to better understand the capabilities and limitations of large language models (LLMs). Researchers use prompt engineering to improve the capacity of LLMs on a wide range of common and complex tasks such as question answering and arithmetic reasoning. Developers use prompt engineering to design robust and effective prompting techniques that interface with LLMs and other tools.
2022-12-17 00:07:07 +08:00
2023-02-25 13:50:19 +08:00
Motivated by the high interest in developing with LLMs, we have created this new prompt engineering guide that contains all the latest papers, learning guides, lectures, references, and tools related to prompt engineering.
2023-02-25 13:42:29 +08:00
Happy Prompting!
---
## Announcements / Updates
2023-01-29 04:46:21 +08:00
2023-03-31 09:31:21 +08:00
- 🌐 We now support [中文](https://www.promptingguide.ai/zh) and [English](https://www.promptingguide.ai/). Welcoming more translations.
2023-03-17 22:23:05 +08:00
- 🎉 We have launched new web version of the guide [here](https://www.promptingguide.ai/)
2023-03-03 03:31:23 +08:00
- 🎓 Partnered with Sphere to deliver a new course on [Prompt Engineering for LLMs](https://www.getsphere.com/cohorts/prompt-engineering-for-llms?source=github)
2023-02-25 03:41:07 +08:00
- 🔥 We reached #1 on Hacker News on 21 Feb 2023
2023-02-25 13:42:29 +08:00
- 🎉 The Prompt Engineering Lecture went live [here](https://youtu.be/dOxUroR57xs)
2023-02-25 03:41:07 +08:00
[Join our Discord](https://discord.gg/SKgkVT8BGJ)
[Follow us on Twitter](https://twitter.com/dair_ai)
2023-02-07 02:44:34 +08:00
2023-03-02 09:44:40 +08:00
[Subscribe to our Newsletter](https://nlpnews.substack.com/)
2023-02-09 10:46:21 +08:00
---
2023-02-20 09:52:00 +08:00
## Lecture
2023-02-07 02:44:34 +08:00
2023-02-20 09:52:00 +08:00
We have published a 1 hour lecture that provides a comprehensive overview of prompting techniques, applications, and tools.
2023-02-21 06:36:13 +08:00
- [Video Lecture](https://youtu.be/dOxUroR57xs)
- [Notebook with code](https://github.com/dair-ai/Prompt-Engineering-Guide/blob/main/notebooks/pe-lecture.ipynb)
2023-02-20 09:52:00 +08:00
- [Slides](https://github.com/dair-ai/Prompt-Engineering-Guide/blob/main/lecture/Prompt-Engineering-Lecture-Elvis.pdf)
---
## Guides
2023-03-31 09:31:21 +08:00
Please note that the guides below are now outdated. You can find the most up-to-date guides on our new website [https://www.promptingguide.ai/](https://www.promptingguide.ai/).
2023-02-07 06:30:31 +08:00
2023-02-09 11:56:56 +08:00
- [Prompt Engineering - Introduction](/guides/prompts-intro.md)
2023-02-20 09:52:00 +08:00
- [Prompt Engineering - Basic Prompting](/guides/prompts-basic-usage.md)
- [Prompt Engineering - Advanced Prompting](/guides/prompts-advanced-usage.md)
2023-02-28 03:45:59 +08:00
- [Prompt Engineering - Applications](/guides/prompts-applications.md)
2023-03-06 16:19:10 +08:00
- [Prompt Engineering - ChatGPT](/guides/prompts-chatgpt.md)
2023-03-06 16:23:20 +08:00
- [Prompt Engineering - Adversarial Prompting](/guides/prompts-adversarial.md)
2023-03-06 16:19:10 +08:00
- [Prompt Engineering - Reliability](/guides/prompts-reliability.md)
2023-03-06 16:23:20 +08:00
- [Prompt Engineering - Miscellaneous Topics](/guides/prompts-miscellaneous.md)
2023-03-31 09:31:21 +08:00
- [Prompt Engineering - Papers](/pages/papers.en.mdx)
- [Prompt Engineering - Tools](/pages/tools.en.mdx)
- [Prompt Engineering - Datasets](/pages/datasets.en.mdx)
- [Prompt Engineering - Additional Readings](/pages/readings.en.mdx)
2022-12-18 00:09:53 +08:00
---
2023-02-25 13:50:19 +08:00
If you are using the guide for your work, please cite us as follows:
2023-02-25 13:50:19 +08:00
```
@article{Saravia_Prompt_Engineering_Guide_2022,
author = {Saravia, Elvis},
journal = {https://github.com/dair-ai/Prompt-Engineering-Guide},
month = {12},
title = {{Prompt Engineering Guide}},
year = {2022}
}
```
Feel free to open a PR if you think something is missing here. Always welcome feedback and suggestions. Just open an issue!