Home · Datasets · Stanford Alpaca
DATASET

Stanford Alpaca

Self-instruct generated training data from GPT-3.5 that kickstarted the open instruction-tuning movement.

TARGET QUERY alpaca dataset · ~4K/mo
SIZE
52K instructions
CREATOR
Stanford
MODALITY
text
LICENSE
CC-BY-NC 4.0
RELEASED
2023-03
OVERVIEW Updated 2026-05-17

Overview

Stanford Alpaca’s 52,000 instruction-following examples demonstrated that fine-tuning on relatively small instruction data could produce a capable assistant. Generated via self-instruct from text-davinci-003, it catalyzed the open instruction-tuning movement.

What’s In It

The dataset contains 52,002 instruction-following examples generated from 175 human-written seed tasks. Each example has an instruction, optional input context, and output response spanning writing, math, coding, brainstorming, and conversation.

How It’s Used

Alpaca’s methodology spawned dozens of follow-up projects. Vicuna, Koala, and numerous other models adopted similar approaches. The dataset proved that high-quality instruction following could emerge from inexpensive synthetic data generation.

Controversies

Using GPT-3.5 outputs as training data raises licensing concerns under OpenAI’s terms. The quality ceiling is bounded by the teacher model, and errors propagate without human verification.