-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
type: rule | ||
title: Do you use chain of density prompts for summarization? | ||
uri: chain-of-density | ||
authors: | ||
- title: Seth Daily | ||
url: https://www.ssw.com.au/people/seth-daily | ||
related: null | ||
created: 2023-09-18 | ||
archivedreason: null | ||
guid: b962b782-e7a8-42ed-b045-f8f2e4c7bd1b | ||
--- | ||
|
||
If you have a bunch of text to sum up, it can be time consuming to extract the most important parts. If you want a simple way to keep the important stuff, you should use chain of density (CoD). | ||
|
||
<!--endintro--> | ||
|
||
## What is Chain of Density? | ||
|
||
CoD is a way to make short but detailed summaries. It works automatically with one prompt: | ||
|
||
- Add important stuff step by step | ||
- Use feedback from people to check quality | ||
- See how it does against the usual GPT-4 way | ||
|
||
## Why Use CoD? | ||
|
||
### Keep it Short but Full of Info | ||
|
||
::: greybox | ||
Add important details one by one. | ||
::: | ||
|
||
::: good Figure: Good Example | ||
You keep only the info that matters most. | ||
::: | ||
|
||
### What Do People Say? | ||
|
||
::: greybox | ||
Ask people what they think to make it even better. | ||
::: | ||
|
||
::: good Figure: Good Example | ||
Feedback helps you make the summary useful for everyone. | ||
::: | ||
|
||
## CoD vs Regular GPT-4 | ||
|
||
### Which is Better? | ||
|
||
::: greybox | ||
Regular GPT-4 can be off the mark. | ||
::: | ||
|
||
::: bad Figure: Bad Example | ||
It might include stuff you don't really need. | ||
::: | ||
|
||
::: greybox | ||
CoD aims to be more focused. | ||
::: | ||
|
||
::: good Figure: Good Example | ||
CoD is usually more on point. | ||
::: | ||
|
||
## How to Do CoD? | ||
|
||
### Example Prompt | ||
|
||
Here's an example prompt you can use to do CoD: | ||
|