synthetic-data

Generate synthetic training datasets for LLM fine-tuning with distilabel pipelines.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/thistleknot/skills --skill synthetic-data-thistleknot
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: synthetic-data
Source: https://github.com/thistleknot/skills/tree/main/synthetic-data
Command: npx skills add https://github.com/thistleknot/skills --skill synthetic-data-thistleknot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Synthetic-data removes the bottleneck of needing high-quality labeled data by generating structured, high-coverage training datasets for LLM fine-tuning and agent training.

Core Features & Use Cases

  • Multi-paradigm synthetic generation: Covers Self-Instruct, Evol-Instruct/WizardLM, GLAN taxonomy-driven syllabus generation, Magpie query synthesis, agent-trajectory synthesis (FireAct/CodeAct), and preference data generation (UltraFeedback and related approaches).
  • Mandatory quality gates: Enforces deduplication, schema/format validation, LLM-as-judge scoring, instruction-following difficulty (IFD) filtering, and coverage auditing before any data is used for training.
  • Distribution control for training stability: Supports stratified-quota sampling and class-balancing to manage coverage and reduce skew across categories.
  • Anti-collapse safeguards: Emphasizes using a strong fixed teacher model and avoiding training on outputs from the model being trained to mitigate model collapse risk.

Quick Start

Use the synthetic-data skill to generate a synthetic fine-tuning dataset from a seed pool using a GPT-4-class teacher model with deduplication, LLM-judge filtering, IFD filtering, and a coverage audit enabled.

Frequently Asked Questions about synthetic-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate synthetic training data for LLM fine-tuning when I don't have enough labeled data?▼

You can generate synthetic training data for LLM fine-tuning by using a distilabel-based pipeline to create instruction SFT datasets and preference pairs from a seed pool. This process applies mandatory quality gates like deduplication, schema validation, and LLM-as-judge scoring to ensure the output is training-ready.

What is the best way to create preference pairs for DPO and RLHF?▼

The best way to create preference pairs for DPO and RLHF is to use a multi-paradigm synthetic generation pipeline that incorporates UltraFeedback approaches. It enforces instruction-following difficulty filtering and distribution rebalancing to produce high-quality, training-ready preference datasets.

How does distilabel work with synthetic data generation workflows?▼

Distilabel works with synthetic data generation workflows by providing an end-to-end pipeline that enforces mandatory quality gates. It integrates deduplication, schema validation, LLM-as-judge scoring, and coverage auditing to ensure generated datasets meet high coverage and quality standards before training.

Can I use synthetic data generation for agent trajectory distillation?▼

Yes, you can use synthetic data generation for agent trajectory distillation. The pipeline supports agent-trajectory synthesis using FireAct and CodeAct approaches, alongside taxonomy-driven syllabus generation, to create structured training datasets for agent models.

How do I prevent model collapse when training on synthetic data?▼

To prevent model collapse when training on synthetic data, you should use a strong fixed teacher model for generation and avoid training on outputs from the model being trained. The pipeline also applies anti-collapse safeguards like coverage auditing and stratified-quota sampling to manage distribution skew.

Does synthetic data generation require schema validation and coverage auditing?▼

Yes, synthetic data generation requires schema validation and coverage auditing as mandatory quality gates. These steps, along with deduplication, LLM-as-judge scoring, and IFD filtering, ensure the generated datasets maintain structural integrity and high coverage before being used for training.