How to Generate and Use Synthetic Data for Finetuning
It is increasingly viable to use synthetic data for pretraining, instruction-tuning, and preference-tuning. Synthetic data refers to data generated via a model or simulated environment, instead of naturally occurring on the internet or annotated by humans. Relative to human annotation, it’s faster and cheaper to generate task-specific synthetic data. Furthermore, the quality and diversity of synthetic data often exceeds that of human annotators, leading to improved performance and generalization when models are finetuned on synthetic data. Finally, synthetic data sidesteps privacy and copyright concerns by avoiding reliance on user data or possibly copyrighted content. There are two main approaches to generate synthetic data: Distillation from a stronger model or Self-improvement on the model’s own output. The synthetic data can then be used in pretraining, instruction-tuning, and preference-tuning. Distillation transfers knowledge and reasoning skills from a stronger teacher to a weak
How to Generate and Use Synthetic Data for Finetuning eugeneyan Start Here Writing Speaking Prototyping About How to Generate and Use Synthetic Data for Finetuning [ llm survey ] · 42 min read It is increasingly viable to use synthetic data for pretraining, instruction-tuning, and preference-tuning. Synthetic data refers to data generated via a model or simulated environment, instead of naturally occurring on the internet or annotated by humans. Relative to human annotation, it’s faster and cheaper to generate task-specific synthetic data. Furthermore, the quality and diversity of synthetic da
Explore this link on the map →related reading
- RLHF: Reinforcement Learning from Human Feedbackhuyenchip.com
- BeyondWeb: Lessons from Scaling Synthetic Data for Trillion-scale Pretrainingdatologyai.com
- Synthetic Pretraining | Vintage Datavintagedata.org
- Modifying LLM Beliefs with Synthetic Document Finetuningalignment.anthropic.com
- Synthetic data generation (Part 1)cookbook.openai.com
- [2210.11416] Scaling Instruction-Finetuned Language Modelsarxiv.org
- [2203.02155] Training language models to follow instructions with human feedbackarxiv.org
- Replicate - Run AI with an APIreplicate.com
- [2406.08464] Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothingarxiv.org
- Model optimization | OpenAI APIplatform.openai.com
- Self-Adapting Language Modelsarxiv.org
- PostTrainBenchposttrainbench.com