You want to fine-tune a model to answer questions about an internal policy manual, but you have no question and answer examples. What can Microsoft Foundry help you do?
- Exam domain
- Optimize generative AI systems and model performance10–15% of the exam
- Difficulty
- Medium
- In this mock
- 11 questions on this domainPractise this domain
Why the exam asks this
Objective in the exam guide: Create and manage synthetic data for fine-tuning.
Real labelled data is often missing or sensitive. The exam checks you know the synthetic option and its caveats.
Why C is the answer
Generate synthetic question and answer data from the manual, then review it before fine-tuning
Foundry synthetic data generation can turn a reference document into question and answer training data in JSONL format; review it before use.
How it works
Foundry synthetic data generation (preview) creates training data from a reference file.
A Simple Q&A generator turns a document into question and answer pairs; a Tool use generator works from an OpenAPI specification.
Generated data should be reviewed before training, because the model will learn its mistakes too.
Clues in the question
The words that point to the answer, and what each one tells you.
- No question and answer examples
- Data must be created.
- Policy manual
- A reference document to generate from.
In detail
- Start with a small sample, review it, then scale up.
- Mixing synthetic and real data can improve generalization.
Side by side with look-alikes
| Data source | Usable for supervised fine-tuning? |
|---|---|
| Synthetic Q&A generated from the manual, reviewed | Yes |
| Raw manual text | No |
| System prompt only | No |
| Unreviewed logs with personal data | Risky |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Skip data and fine-tune with the system prompt onlyWrong
A prompt alone gives the job nothing to learn from.
B. Use production chat logs that contain customer personal data unreviewedWrong
Unreviewed personal data creates privacy risk.
C. Generate synthetic question and answer data from the manual, then review it before fine-tuningRight
Foundry synthetic data generation can turn a reference document into question and answer training data in JSONL format; review it before use.
D. Fine-tune on the manual's raw text with no examplesWrongMost tempting
Supervised fine-tuning needs input and output examples.
Why it tempts: The manual holds the knowledge, so training on it sounds direct. But supervised fine-tuning learns from example conversations, not raw documents.
In practice
- Remove personal data from the reference file before generating, as Microsoft advises.