---
title: "What Makes a Dialog Agent Useful?"
description: "ChatGPT-style dialog agents share a common recipe on top of a pretrained LM: instruction fine-tuning (IFT) on human-written and model-bootstrapped instruction datasets, supervised fine-tuning (SFT) on human annotations for helpfulness and harmlessness, RLHF via a learned preference model, and chain-of-thought fine-tuning."
url: "https://swe.quest/articles/what-makes-a-dialog-agent-useful-498cf2c2b48ca092"
canonical: "https://huggingface.co/blog/dialog-agents"
source: "Hugging Face"
published: "2023-01-24"
difficulty: "easy"
kind: "Research"
reading_minutes: 8
tags: ["model-training","llms","ai-safety"]
---

# What Makes a Dialog Agent Useful?

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2023-01-24, 8 min read, Research. Original: [https://huggingface.co/blog/dialog-agents](https://huggingface.co/blog/dialog-agents)

## Summary

ChatGPT-style dialog agents share a common recipe on top of a pretrained LM: instruction fine-tuning (IFT) on human-written and model-bootstrapped instruction datasets, supervised fine-tuning (SFT) on human annotations for helpfulness and harmlessness, RLHF via a learned preference model, and chain-of-thought fine-tuning. A comparison table covers LaMDA, BlenderBot 3, Sparrow, InstructGPT and Anthropic's Assistant across size, pre-training corpus, fine-tuning data, RLHF use, safety rules and evaluation criteria. Key takeaways: IFT needs only a few hundred examples relative to pre-training data, and CoT fine-tuning improves reasoning while making models less evasive on sensitive prompts, sometimes beating RLHF on harmlessness. Open questions include whether higher-quality SFT data can match RLHF and how much pre-training is still necessary.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [AI safety](https://swe.quest/tags/ai-safety.md) (AI & ML)

## Prerequisites

- language model pre-training ([easy posts on Model training](https://swe.quest/tags/model-training.md?difficulty=easy))
- fine-tuning basics ([easy posts on Model training](https://swe.quest/tags/model-training.md?difficulty=easy))

## Keywords

ChatGPT, RLHF, InstructGPT, Sparrow, LaMDA, BlenderBot 3, chain-of-thought, Self-instruct

## Related posts

- [Open-source LLMs as LangChain Agents](https://swe.quest/articles/open-source-llms-as-langchain-agents-e2163a289958a319.md): Hugging Face · 2024-01-24 · Medium · 10 min read · AI agents, LLMs, Evaluation, Python
  Open-source LLMs can now serve as reasoning engines for tool-using ReAct agents, with Mixtral-8x7B outperforming GPT-3.5 out of the box on a mixed benchmark drawn from HotpotQA, GSM8K and GAIA, graded by GPT-4-as-a-judge.
- [Building production-ready agentic systems: Lessons from Shopify Sidekick](https://swe.quest/articles/building-production-ready-agentic-systems-lessons-from-shopify-sidekick-338be221de1210c1.md): Shopify Engineering · 2025-08-26 · Medium · 6 min read · AI agents, Evaluation, Model training, LLMs
  Shopify's Sidekick merchant assistant outgrew a monolithic system prompt once its tool count passed ~50, so the team moved to just-in-time instructions returned alongside tool results, which kept prompt caches intact and improved maintainability and metrics.
- [Few-shot learning in practice: GPT-Neo and the 🤗 Accelerated Inference API](https://swe.quest/articles/few-shot-learning-in-practice-gpt-neo-and-the-accelerated-inference-api-08cde6019b028379.md): Hugging Face · 2021-06-03 · Medium · 6 min read · LLMs, Inference & serving, AI safety, Python
  Few-shot learning lets a large language model perform a new NLP task from a handful of examples supplied in the prompt (task description, examples, and a prompt to complete), avoiding the labeled data needed for fine-tuning.
- [Verifiable Social Reasoning for LLM Assistants](https://swe.quest/articles/verifiable-social-reasoning-for-llm-assistants-dc59bf251a7a203f.md): Google Research · 2026-11-25 · Medium · 8 min read · Evaluation, LLMs, AI agents
  A multi-agent simulation framework evaluates LLM assistants' social reasoning under 'user-mediated reality': a target agent with a hidden motive interacts with a simulated user, who then recounts events, possibly with bias, to the assistant, which must infer the motive.
- [Agentic Machine Learning Modeling at Instacart](https://swe.quest/articles/agentic-machine-learning-modeling-at-instacart-32ce5c1adc0f1a7c.md): Instacart Tech · 2026-09-03 · Medium · 15 min read · AI agents, Machine learning, ML platforms, LLMs, Evaluation
  Instacart MLEs run human-in-the-loop agent research loops in which agents propose hypotheses, implement them and evaluate them against fixed metrics and guardrails, using the in-house Griffin ML platform.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
