Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 00_prompt_engineering/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ Before diving into prompt techniques, understand these key parameters that contr
- Set appropriately for your task needs

### Top-K and Top-P (Nucleus Sampling)
- **Top-K**: Limits choices to top K most likely tokens
- **Top-P**: Limits choices based on cumulative probability
- **Top-K**: Limits choices to top K most likely tokens (**Only consider the k most likely next words (e.g., top-5 words)**)
- **Top-P**: Limits choices based on cumulative probability (**Keep adding words to the list until you reach p% total probability (like filling a bucket to 90%)**)
- Work together with temperature to control randomness

**Recommended starting points:**
Expand Down