Choose a training method and curate its examples
Distinguish changes to model weights from retrieval and select training records that measure the intended behavior.
Different tone, same facts
A documentation model retrieves the right policy but consistently writes in the wrong format. The team has approved examples of the exact output it needs. What experiment should it try?
Pretraining, adaptation and distillation
Pretraining learns broad representations from a large corpus. Continued pretraining exposes an existing model to more domain text. Supervised fine-tuning learns from examples of desired responses. Distillation transfers behavior from a stronger teacher into a smaller student.
Instruction tuning and feedback
Instruction tuning uses paired prompts and acceptable completions, for example approved support summaries. Preference feedback ranks alternative responses and can inform alignment approaches such as RLHF. Choose the supported method based on what kind of labels you actually possess.
Preparing trustworthy data
Verify consent and use rights, remove unnecessary identifiers and duplicates, check label consistency and represent difficult slices. Split by customer, document family or time where near-duplicates would leak across partitions. Keep an untouched evaluation set.
Work through the decision
Compare your reasoning
First benchmark a clear prompt with examples. If the behavior still falls short, evaluate supervised instruction tuning on approved pairs. Keep factual policy retrieval separate so future updates can be refreshed without another training cycle.
Change one constraint
A random split scores highly, but the same ticket thread appears on both sides. How should validation change?
Check your answer
Group related examples before splitting, remove near-duplicates and evaluate with new ticket families. A memorized completion says little about generalizing to another customer.
Revisit the recording
The primer compares attention, language models and adaptation. A token budget, a vector search and model training each change a different part of a request. Gen AI Primer · 1:31:48.
Prepare a training example
The fine-tuning walkthrough uses a JSON Lines dataset for a summarization task. One example should join the user input to the approved response and follow the selected model's required training format. Validate both the file structure and the quality of the target summary. Keep near-duplicate documents together when separating training and evaluation records. Watch at 6:04:10.
Sources and further practice
AWS exam objectives · AWS documentation for this case.
Choose a query engine, analytics pipeline or AI service · AWS Certified Cloud Practitioner · Return to the study map.
Choose a training method and curate its examples quiz
Answer 5 questions. Check each answer for an explanation.