Instruction
Part of the prompt that tells the model what to do specifically. Unlike a simple question, an instruction is formulated as a command.
Question vs Instruction
| Question | Instruction |
|---|---|
| «What is a token?» | «Explain what a token is in one paragraph, without formulas» |
An instruction adds requirements to the form, volume, and content of the response.
What Makes a Good Instruction
- action — «write», «translate», «explain»;
- context — «for beginners», «for developers»;
- format — «in a list», «in a table», «in one paragraph»;
- limitations — «no fluff», «no more than 100 words».
Relation to Instruction Tuning
Instruction tuning — instruction tuning — is built on instructions to fine-tune the model to better follow instructions. Modern LLMs understand instructions after such training without examples.