
Research
Mylinh Tran

Advancements in LLM capabilities have made synthetic data generation a powerful tool for training models, automating a lot of the manual collection, labeling, and curation that used to slow teams down. However, anyone who has trained specialized models knows that prompting an LLM to generate examples is rarely enough on its own.
At Fastino Labs, data generation is a central part of our research on training specialized language models and has become a core feature of the Fastino Training Agent. A model’s performance is dependent on the quality of its training data. As our founding researcher Urchade puts it, it's “garbage in, garbage out.” If a dataset lacks accuracy, diversity, or coverage, the model will suffer as a result.
In our latest video, Julia (Head of Research) and Urchade (Founding Researcher) discuss how Fastino moved from manual scripts to an agentic data pipeline, how to balance synthetic and real-world data, how to evaluate dataset quality, and where synthetic data still has room for improvement.
Creating the data generation agent
Building a training dataset requires an understanding of the domains, data types, diversity, and coverage needed to train a model for a given task. As LLMs have gotten better at understanding task requirements and what constitutes high-quality training data, the team has delegated more of the process to the agent.
In the early days of Fastino, our researchers wrote individual data generation scripts for different tasks. While these scripts automated the generation of training examples, our researchers still needed to manually define the requirements of each dataset.
The realization that a majority of this setup was repetitive led them to develop an internal data generation tool.
Today, the data agent can handle most of this work when given a task description:
Dataset design: Before generating any examples, it researches the task and proposes the relevant domains, data types, diversity criteria, and coverage, then incorporates human feedback to refine the target dataset.
Hybrid sourcing pipeline: The agent gathers and labels real-world data and generates synthetic examples to fill gaps in coverage within a single automated workflow.
This internal research tooling is now part of the Fastino Training Agent, which automates the full post-training workflow from research and data preparation to fine-tuning and evaluation.
Using real-world and synthetic data together
Both approaches have their advantages and limitations, and using them together can improve the quality and coverage of a training dataset.
Real-world data captures the variability, complexity, and nuances that models are likely to encounter in practice. However, both Julia and Urchade encountered quality issues with human-generated datasets before joining Fastino. Julia recalls commissioning participants through Mechanical Turk who would rush through tasks by repeatedly selecting the easiest option, compromising data quality and diversity. Similarly, during his PhD, Urchade often found labeling errors in the datasets he worked with.
The main advantage of synthetic data is its scalability, allowing researchers to generate examples as needed. The caveat is that the quality and diversity of these examples depend heavily on the capabilities and existing knowledge of the LLM creating them.
To address this, the Fastino Training Agent uses a hybrid data generation pipeline. The agent conducts its own web research to source relevant real-world examples, which are annotated and then used to inform additional synthetic data generation. This helps preserve the natural variability and nuances of real-world data while expanding dataset coverage. Throughout this process, the agent draws on the capabilities and domain knowledge of multiple open weight and frontier models to increase diversity and mitigate biases.

Task complexity determines the need for real-world seed data
How much researchers need to rely on real-world seed data depends on the complexity of the task and how familiar LLMs are with the domain. For well-understood tasks, LLMs can often generate representative examples from a task description alone.
Urchade uses the example of training a model to classify tweets. This type of content is widely available and likely to be represented in an LLM's training data, so the model already has a strong understanding of how tweets are typically written and structured.
For more specialized tasks involving internal documents, contracts, or industry-specific knowledge, providing real-world seed data can help the LLM capture details that may not be represented in its own training data. Even a small collection of proprietary examples can provide the foundation for a much larger training dataset that reflects an organization's terminology, document structures, and task-specific requirements.
Model performance is the strongest indicator of training data quality
The quality of individual training examples does not necessarily reflect the effectiveness of a dataset as a whole. While reviewing examples individually can help identify errors, it is more difficult to assess whether the dataset has the diversity and coverage needed to train a model that generalizes well.
For this reason, our researchers primarily measure the effectiveness of their training datasets through the performance of the fine-tuned model on held-out evaluation data. This helps them determine whether the model has learned the intended task and can adapt to unseen examples.
Quantitative evaluations alone may not be sufficient when assessing performance on particularly complex or difficult tasks. As Julia explains, there is still a gap between human and artificial intelligence, and difficult cases can benefit from what she calls a human “vibe check” to determine whether the model's performance is up to par.
Build your own specialized model
Use the data generation and post-training tooling developed through our internal research to fine-tune models for your own use cases with the Fastino Training Agent.