fixed next links

This commit is contained in:
Elvis Saravia 2023-03-06 02:19:10 -06:00
parent d8d3567c6f
commit ce7ddd9d90
7 changed files with 29 additions and 12 deletions

View File

@ -49,8 +49,9 @@ The following are a set of guides on prompt engineering developed by us. Guides
- [Prompt Engineering - Basic Prompting](/guides/prompts-basic-usage.md)
- [Prompt Engineering - Advanced Prompting](/guides/prompts-advanced-usage.md)
- [Prompt Engineering - Applications](/guides/prompts-applications.md)
- [Prompt Engineering - ChatGPT](/guides/prompts-chatgpt.md)
- [Prompt Engineering - Adversarial Prompting](/guides/prompt-adversarial.md)
- [Prompt Engineering - Reliability](/guides/prompts-reliability.md)
- [Prompt Engineering - Reliability](/guides/prompts-reliability.md)
- [Prompt Engineering - Miscellaneous Topics](/guides/prompt-miscellaneous.md)
---

View File

@ -5,6 +5,7 @@ The following are a set of guides on prompt engineering developed by us (DAIR.AI
- [Prompt Engineering - Basic Prompting](/guides/prompts-basic-usage.md)
- [Prompt Engineering - Advanced Prompting](/guides/prompts-advanced-usage.md)
- [Prompt Engineering - Applications](/guides/prompts-applications.md)
- [Prompt Engineering - ChatGPT](/guides/prompts-chatgpt.md)
- [Prompt Engineering - Adversarial Prompting](/guides/prompt-adversarial.md)
- [Prompt Engineering - Reliability](/guides/prompts-reliability.md)
- [Prompt Engineering - Miscellaneous Topics](/guides/prompt-miscellaneous.md)

View File

@ -184,6 +184,6 @@ And there are many other variations of this with the goal to make the model do s
Models like ChatGPT and Claude have been aligned to avoid outputting content that for instance promote illegal behavior or unethical activities. So it's harder to jailbreak them but they still have flaws and we are learning new ones as people experiment with these systems.
---
[Previous Section (Applications)](./prompts-applications.md)
[Previous Section (ChatGPT)](./prompts-chatgpt.md)
[Next Section (Miscellaneous Topics)](./prompt-miscellaneous.md)
[Next Section (Reliability)](./prompts-reliability.md)

View File

@ -66,4 +66,4 @@ Further reading:
More coming soon!
---
[Previous Section (Adversarial Prompting)](./prompt-adversarial.md)
[Previous Section (Reliability)](./prompts-reliability.md)

View File

@ -164,6 +164,6 @@ See full notebook [here](../notebooks/pe-pal.ipynb)
More examples coming soon!
[Previous Section (Advanced Usage)](./prompts-advanced-usage.md)
[Previous Section (Advanced Prompting)](./prompts-advanced-usage.md)
[Next Section (Adversarial Prompting)](./prompt-adversarial.md)
[Next Section (ChatGPT)](./prompts-chatgpt.md)

View File

@ -4,6 +4,11 @@ In this section, we cover the latest prompt engineering techniques for ChatGPT,
**Note that this section is under heavy development.**
Topics:
- [ChatGPT Introduction](#chatgpt-introduction)
- [Reviewing The Conversation Task](#reviewing-the-conversation-task)
- [Converstions with ChatGPT](#conversations-with-chatgpt)
---
## ChatGPT Introduction
@ -14,7 +19,7 @@ ChatGPT is trained using Reinforcement Learning from Human Feedback (RLHF). Whil
You can use the research preview of ChatGPT [here](chat.openai.com) but for the examples we will use the Chat mode on the OpenAI Playground.
---
## Conversation
## Reviewing The Conversation Task
In one of the previous guides, we covered a bit about conversation capabilities and role prompting. We covered how to instruct the LLM to have a conversation in a specific style, with a specific intent, behavior, and identity.
@ -74,7 +79,7 @@ openai.ChatCompletion.create(
]
)
```
In fact, the way developers interact with ChatGPT in the future is expected to be done via the [Chat Markup Language](https://github.com/openai/openai-python/blob/main/chatml.md) (ChatML for short).
The chat format enables multi-turn conversations but it also supports single-turn tasks similar to what we used with `text-davinci-003`. This means we can use ChatGPT to perform similar tasks as what we have demonstrated for the original GPT models. For example, let's try to perform the following question answering task using ChatGPT:
@ -113,13 +118,13 @@ More formally, this is the API call (I've only included the message component of
```
---
Other use cases to cover:
- More coming soon!
More coming soon!
---
### References
## References
- [UZH_CLyp at SemEval-2023 Task 9: Head-First Fine-Tuning and ChatGPT Data Generation for Cross-Lingual Learning in Tweet Intimacy Prediction](https://arxiv.org/abs/2303.01194) (Mar 2023)
- [Can ChatGPT Assess Human Personalities? A General Evaluation Framework](https://arxiv.org/abs/2303.01248) (Mar 2023)
@ -144,4 +149,9 @@ Other use cases to cover:
- [ChatGPT for Good? On Opportunities and Challenges of Large Language Models for Education](https://www.edu.sot.tum.de/fileadmin/w00bed/hctl/_my_direct_uploads/ChatGPT_for_Good_.pdf) (Jan 2023)
- [Techniques to improve reliability - OpenAI Cookbook](https://github.com/openai/openai-cookbook/blob/main/techniques_to_improve_reliability.md)
- [Awesome ChatGPT Prompts](https://github.com/f/awesome-chatgpt-prompts)
- [Introducing ChatGPT](https://openai.com/blog/chatgpt) (Nov 2022)
- [Introducing ChatGPT](https://openai.com/blog/chatgpt) (Nov 2022)
---
[Previous Section (Applications)](./prompts-applications.md)
[Next Section (Adversarial Prompting)](./prompts-adversarial.md)

View File

@ -166,3 +166,8 @@ Other upcoming topics:
- [StereoSet: Measuring stereotypical bias in pretrained language models](https://aclanthology.org/2021.acl-long.416/) (Aug 2021)
- [Calibrate Before Use: Improving Few-Shot Performance of Language Models](https://arxiv.org/abs/2102.09690v2) (Feb 2021)
- [Techniques to improve reliability - OpenAI Cookbook](https://github.com/openai/openai-cookbook/blob/main/techniques_to_improve_reliability.md)
---
[Previous Section (Adversarial Prompting)](./prompt-adversarial.md)
[Next Section (Miscellaneous)](./prompt-miscellaneous.md)