The $600 Breakdown: Data vs. Compute Costs

Alpaca's total $600 cost was primarily split between data generation (less than $500 for 52K instruction-following examples) and fine-tuning compute (under $100 for approximately three hours on eight 80GB Nvidia A100 GPUs).

The top 3

  1. Alpaca's $600 Breakdown: Data Generation Dominated Costs: Of the total cost under $600 for Stanford Alpaca, approximately $500 was spent on generating 52,000 instruction-following examples using OpenAI's `text-davinci-003` API, while compute for fine-tuning accounted for less than $100.
  2. How Alpaca Generated 52K Instructions for Under $500: Stanford's team achieved the low data cost by leveraging OpenAI's `text-davinci-003` API to produce 52,000 instruction-following demonstrations, improving upon the self-instruct method through a simplified and automated generation pipeline from a small seed set.
  3. Alpaca's Compute: 8 A100 GPUs for 3-Hour Fine-Tuning: The fine-tuning process for the LLaMA 7B model to create Alpaca was remarkably efficient, taking only three hours on eight 80GB Nvidia A100 GPUs in a cloud environment, which contributed to its compute cost being less than $100.

Sources

Open the full topic