Glossary

Instruction Tuning

The step that teaches a language model to answer rather than continue. A base model completes text; an instruction-tuned model reads a request, follows the format you ask for and stops when it is done.

General definition

Instruction Tuning is a form of supervised fine-tuning in which the training examples are pairs of an instruction (a question, a task, a conversation so far) and a high-quality response. The 2021 FLAN work from Google showed that fine-tuning on a broad mix of tasks phrased as natural-language instructions made a model follow new, unseen instructions far better, and the first stage of the InstructGPT recipe in 2022 used the same idea with human-written demonstrations. Open datasets and models such as Alpaca and Dolly made the technique routine in 2023.

The distinction it creates is the one you see in every model catalogue. A base model has only been pretrained on raw text and will happily continue a question with more questions. An instruct or chat model has been instruction-tuned, usually followed by preference optimisation such as RLHF, and it answers, obeys a format, respects a system prompt and knows when to stop. Instruct models also ship with a chat template that defines how system, user and assistant turns are laid out as tokens, and using the wrong template degrades the model noticeably.

  • What it teaches: task framing, output format, turn-taking, use of a system role, and increasingly structured tool calls
  • What it does not teach: new facts in any reliable way; knowledge still comes from pretraining or from retrieval at run time
  • Data quality over quantity: a few thousand carefully written examples can outperform millions of noisy ones, as the 2023 LIMA paper argued
  • Domain instruction tuning: organisations fine-tune an instruct model further on their own instruction pairs to fix tone, format and task behaviour, often with LoRA adapters

For anyone building an agent the practical rule is short: pick the instruct or chat variant of a model unless you are training one yourself. A base LLM will ignore system prompts, ramble past the answer and fail to produce the structured tool calls an agent loop depends on.

Want to try it yourself? Build an AI agent that answers from your own pages and documents with the Ethora no-code AI agent builder. No coding is needed and it is free to start.

In the Ethora ecosystem

Ethora agents are configured with a per-agent system prompt, knowledge and tools, and all three assume an instruction-tuned model. When you set an agent’s model in the AI SDK, whether a hosted model API or a self-hosted model served through an OpenAI-compatible endpoint such as Ollama or vLLM, choose the instruct or chat build. The system prompt only carries authority because the model was tuned to give the system role priority, and tool calling only works because the model was tuned to emit calls in a structured form.

Instruction tuning also sets realistic expectations for customisation. Most teams do not need to tune a model to get a well-behaved support or intake agent; a precise system prompt, a focused knowledge base for facts and a few examples of the desired answer style cover the common cases. Further fine-tuning becomes worthwhile when the agent must hold a very specific format or voice across thousands of conversations, and even then the fine-tuned model is still pointed at Ethora through the same endpoint.

Get started

Build your own AI agent, no code needed

Train an agent on your pages and documents, test it in minutes, then put it on your website or in your app.

Free tier available Enterprise SLA No vendor lock-in