davanstrien/awesome-synthetic-datasets

awesome synthetic (text) datasets

What this project is

awesome-synthetic-datasets is a curated, hand-picked list of resources about synthetic data — specifically text and vision datasets generated with large language models (LLMs). It's the kind of project called an "awesome list": a README file that collects links, tutorials, papers, datasets, and tools on one topic, so newcomers can find the good stuff without digging through everything.

The author is davanstrien (Daniel van Strien), who works with Hugging Face. The list is openly available on GitHub.

What synthetic data is (as the README explains)

Synthetic data is artificially generated data that usually aims to mimic real-world data. Instead of being collected from real sources (like photos taken by people or text written by humans), it's created algorithmically — often using models or simulations. Synthetic data has been used in machine learning for a long time. Since LLMs became powerful, people increasingly use LLMs both to produce synthetic data and to train other LLMs on it.

Why this project exists

The README says the goal is to help people (including the author himself) get started with building synthetic datasets. It's deliberately practical and pragmatic rather than exhaustive — it focuses on resources you can actually use.

What's inside the list

The README organizes resources into several sections:

1. Tutorials, guides, and educational blog posts

  • A blog post showing how to use an open-source LLM to create synthetic data for training a custom model — with the selling point of saving money, time, and carbon.
  • A post about using a vision-language model (VLM) to generate synthetic data for fine-tuning ColPali models (models that understand images and text together).

2. Examples inside the repository itself

  • An example of generating embedding data with LLMs (embeddings are numerical representations of text that let computers compare meanings).

3. Important techniques

  • Self-Instruct: a method where a language model generates its own training instructions.
  • A notebook for generating custom sentence-similarity datasets (datasets where pairs of sentences are labeled by how similar they are in meaning).

4. Important datasets (with descriptions quoted from each dataset's page)

  • TinyStories — short stories using only words a 3–4-year-old understands, generated by GPT-3.5 and GPT-4. Used to train very small language models (under 10 million parameters) that still produce fluent, grammatical, coherent stories.
  • OpenHermes-2.5 — about 1 million mostly synthetic instruction-and-chat samples, described as larger, more diverse, and higher quality than its predecessor.
  • Cosmopedia — synthetic textbooks, blog posts, stories, posts, and wiki-style articles generated by the Mixtral model. Over 30 million files and 25 billion tokens — the largest open synthetic dataset to date. It's a reproduction of the approach from the paper "Textbooks Are All You Need."
  • WebSight — synthetic HTML/CSS code for generated English websites, each paired with a screenshot. Useful for training models to turn screenshots into code or vice versa.
  • synthetic_text_to_sql — high-quality synthetic examples of converting natural-language questions into SQL database queries, generated with Gretel Navigator.
  • Salesforce/xlam-function-calling-60k — 60,000 generated examples of function-calling (getting an AI to invoke a specific software function), spanning 21 categories and 3,673 APIs.

5. Libraries, code, and tools

  • distilabel — a flexible framework for synthetic data and AI feedback, supporting many LLM providers and including common techniques from papers like Self-Instruct and EvolInstruct.
  • NeMo Data Designer (NVIDIA) — a production-focused Python library for generating high-quality synthetic datasets. Features include dependency-aware generation (for correlated fields), built-in validation, LLM-as-a-judge quality scoring, and support for multiple providers. Used to prepare training data for NVIDIA's Nemotron models.
  • Torque — an open-source TypeScript library for declarative, typesafe synthetic dataset generation, letting you compose reusable conversations like building UIs.
  • DataDreamer — an open-source Python library for prompting, synthetic data generation, and training workflows, designed to be simple, efficient, and research-grade.
  • DataGenFlow — a free, open-source, low-code tool for building generation pipelines by connecting built-in blocks, using templates, or writing custom blocks. Emphasizes transparency.
  • FeatureBench — an open-source pipeline that turns GitHub repositories into test-validated coding tasks: it discovers repos, builds reproducible Docker environments, and generates tasks through extensible adapters.
  • llm-swarm — a Hugging Face library for managing scalable open LLM inference endpoints on Slurm clusters (a type of high-performance computing scheduler). It was used to generate the Cosmopedia dataset.
  • Domain Specific Dataset Project — a project to bootstrap domain-specific datasets by helping users collaborate with domain experts, including a UI tool for building a synthetic-data pipeline for a particular domain.
  • AutoPrompt — a framework for automatically generating high-quality prompts. It iteratively builds a dataset of challenging edge cases and optimizes the prompt against them, reducing manual prompt engineering.
  • Self-Contrast — an annotation-free method for aligning language models with human preferences. The "Nectar" synthetic dataset trains a reward model, which is then used to train an LLM via Reinforcement Learning with AI Feedback (RLAIF).

6. Important papers

The README lists papers that "introduced important techniques or had a big impact." Highlights include:

  • Textbooks Are All You Need — the paper behind Cosmopedia.
  • TinyStories — the paper behind the TinyStories dataset.
  • Self-Instruct — the technique for models generating their own instructions.
  • WizardLM — introduces Evol-Instruct, a method for making instructions more complex.
  • Improving Text Embeddings with Large Language Models — using LLMs to create better embeddings.
  • Extensive Self-Contrast Enables Feedback-Free Language Model Alignment — the Starling team's paper behind Self-Contrast.
  • Magpie — synthesizing alignment data by prompting aligned LLMs "with nothing."
  • Instruction Pre-Training — treating language models as supervised multitask learners.
  • Tuning Language Models with (Almost) No Human Labor — reducing human effort in data creation.
  • Synthetic Data Generation & Multi-Step RL for Reasoning & Tool Use — using synthetic data with reinforcement learning for reasoning and tool use.
  • Translate & Fill — improving multilingual semantic parsing with synthetic data.
  • Generating Faithful Synthetic Data with Large Language Models — a case study in computational social science.
  • Scaling Synthetic Data Creation with 1,000,000,000 Personas — introduces Persona Hub, a persona-driven approach to diverse synthetic data.
  • Best Practices and Lessons Learned on Synthetic Data for Language Models — a comprehensive survey of methods, challenges, and applications.
  • WILDCHAT-50M — the largest public chat dataset, with responses from 50+ models.

The author also maintains a longer, growing collection of papers on Hugging Face.

Key takeaway

This project is a well-organized starting point for anyone curious about synthetic data: what it is, why it matters, which datasets are influential, which tools are worth trying, and which papers to read first. It's explicitly not meant to be exhaustive — just practical and useful.

Related

  • Project
  • Project
  • Project
  • Project
  • Project