Alpaca's $600 Genesis: Stanford's Cost-Cutting LLM Feat
Stanford University researchers achieved a breakthrough by fine-tuning Meta's LLaMA 7B model into Alpaca for under $600 total. This included generating 52,000 instruction-following examples using OpenAI's text-davinci-003 for about $500, and the fine-tuning itself costing less than $100 on eight A100 GPUs in three hours.
The top 3
- Alpaca's Data Secret: Self-Instruct with GPT-3.5: Stanford generated its 52,000 instruction-following examples by employing a simplified 'Self-Instruct' method using OpenAI's text-davinci-003 API, which alone cost less than $500 to create the diverse dataset.
- 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).
- Alpaca's Surprising Performance Against GPT-3.5: In preliminary blind evaluations, Alpaca 7B demonstrated qualitatively similar instruction-following performance to OpenAI's text-davinci-003 (GPT-3.5), winning 90 comparisons against text-davinci-003's 89, despite its significantly lower training cost.
Sources
Open the full topic