elements of a prompt video

pull/452/head
Elvis Saravia 1 month ago
parent 8e9eda4b53
commit 88695a6703

@ -27,7 +27,7 @@ If you are using the OpenAI Playground or any other LLM playground, you can prom
Here is a tutorial on how to get started with the OpenAI Playground:
<Bleed full>
<Bleed>
<iframe width="100%"
height="415px"
src="https://www.youtube.com/embed/iwYtzPJELkk?si=irua5h_wHrkNCY0V" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"

@ -1,5 +1,7 @@
# Elements of a Prompt
import {Bleed} from 'nextra-theme-docs'
As we cover more and more examples and applications with prompt engineering, you will notice that certain elements make up a prompt.
A prompt contains any of the following elements:
@ -12,6 +14,14 @@ A prompt contains any of the following elements:
**Output Indicator** - the type or format of the output.
<Bleed>
<iframe width="100%"
height="415px"
src="https://www.youtube.com/embed/kgBZhJnh-vk?si=-a-KvhmXFJMtAuCB" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
/>
</Bleed>
To demonstrate the prompt elements better, here is a simple prompt that aims to perform a text classification task:
*Prompt*

@ -1,5 +1,15 @@
# LM-Guided Chain-of-Thought
import {Bleed} from 'nextra-theme-docs'
<Bleed>
<iframe width="100%"
height="415px"
src="https://www.youtube.com/embed/O3bl0qURONM?si=Hwdc_o0qHpw8QRsY" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
/>
</Bleed>
A new paper by [Lee et al. (2024)](https://arxiv.org/abs/2404.03414) proposes to improve reasoning in LLMs using small language models.
It first applies knowledge distillation to a small LM with rationales generated by the large LM with the hope of narrowing the gap in reasoning capabilities.

Loading…
Cancel
Save