added notebook sections

pull/43/head
Elvis Saravia 1 year ago
parent cbf1e675e1
commit d09a8d402b

@ -253,11 +253,13 @@ For harder tasks, you might need a lot more examples in which case you might be
More recently, ChatGPT came into the scene. For many of the attacks that we tried above, ChatGPT already contains some guardrails and it usually responds with a safety message when encountering a malicious or dangerous prompt. While ChatGPT prevents a lot of these adversarial prompting techniques, it's not perfect and there is still many new and effective adversarial prompts that breaks the model. One disadvantage with ChatGPT is that because the model has all of these guardrails, it might prevent certain behaviors that are desired but not possible given the constraints. There is a tradeoff with all these model types and the field is constantly evolving to better and more robust solutions.
---
Other upcoming topics:
- Filters and Moderation
- Detecting Machine-Generated Text
- ...
## Python Notebooks
|Description|Notebook|
|--|--|
|Learn about adversarial prompting include defensive measures.|[Adversarial Prompt Engineering](../notebooks/pe-chatgpt-adversarial.ipynb)|
---

@ -158,7 +158,12 @@ print(born)
This will output the following: `02/27/1998`
See full notebook [here](../notebooks/pe-pal.ipynb)
---
## Python Notebooks
|Description|Notebook|
|--|--|
|Learn how to use code as reasoning for solving common tasks using the Python interpreter in combination with the language model.|[PAL: Code as Reasoning](../notebooks/pe-pal.ipynb)|
---

@ -289,6 +289,13 @@ We will continue to include more examples of common applications in this section
In the upcoming guides, we will cover even more advanced prompt engineering concepts for improving performance on all these and more difficult tasks.
---
## Python Notebooks
|Description|Notebook|
|--|--|
|Learn how to perform many different types of tasks using the `openai` and `LangChain` library|[Getting Started with Prompt Engineering](../notebooks/pe-lecture.ipynb)|
---
[Previous Section (Prompts Introduction)](./prompts-intro.md)

@ -8,6 +8,7 @@ Topics:
- [ChatGPT Introduction](#chatgpt-introduction)
- [Reviewing The Conversation Task](#reviewing-the-conversation-task)
- [Conversations with ChatGPT](#conversations-with-chatgpt)
- [Python Notebooks](#python-notebooks)
---
## ChatGPT Introduction
@ -135,8 +136,8 @@ According to the official OpenAI docs, snapshots of the `gpt-3.5-turbo` model wi
The current recommendation for `gpt-3.5-turbo-0301` is to add instructions in the `user` message as opposed to the available `system` message.
## Notebooks
---
## Python Notebooks
|Description|Notebook|
|--|--|

Loading…
Cancel
Save