ML Model and Foundation Model (FM) Development
Choosing, training, tuning and evaluating models, from built-in algorithms to fine-tuned foundation models.
2.1Task
Choose appropriate modeling approaches for ML and AI solutions.
You should be able to: Pick the model, algorithm, foundation model, AI service or architecture that fits the need, weighing accuracy, speed, cost and effort.
2.1Task
Choose appropriate modeling approaches for ML and AI solutions.
You should be able to: Pick the model, algorithm, foundation model, AI service or architecture that fits the need, weighing accuracy, speed, cost and effort.
- Choosing a foundation model in BedrockRead a model’s spec sheet, shortlist by family, then test on your own data.Builds on AIF-C01
- Custom, managed, pre-trained or foundation modelPick the lightest option that meets the need: AI service, SageMaker built-in, custom code, Bedrock FM or fine-tuned FM.Builds on AIF-C01
2.1 Choose appropriate modeling approaches for ML and AI solutions.
- Selecting ML models and algorithmsMatch the problem type to an algorithm family, then weigh interpretability, accuracy, speed and data size.Builds on AIF-C01
Amazon SageMaker JumpStart, Canvas and AutopilotThree ways to start fast in SageMaker AI: ready models, no-code models and automatic model building.Builds on AIF-C01
- Fine-tuning strategies for foundation modelsChoose the lightest way to adapt a model: prompting, RAG, fine-tuning, continued pre-training or distillation.Builds on AIF-C01
- RAG architecture patternsNaive, advanced, graph, agentic and multimodal RAG, and when each one fits.Builds on AIF-C01
- Training time, cost and performance trade-offsFaster or cheaper training usually costs something: accuracy, risk or effort. Know the levers.
- FM performance, latency and cost trade-offsPull the levers that cut delay or cost: smaller models, caching, routing, streaming, short outputs, batch and capacity.Builds on AIF-C01
2.1 Choose appropriate modeling approaches for ML and AI solutions.
Amazon TextractChoose the right Textract API, run it sync or async, and add human review for low confidence.Builds on AIF-C01
Amazon RekognitionPick the image or video API, use face collections for search, and know when Custom Labels is needed.Builds on AIF-C01
Amazon ComprehendBuilt-in insights, custom classification and entity recognition, and real-time versus asynchronous use.Builds on AIF-C01
Amazon TranscribeChoose batch or streaming, then tune accuracy and privacy with vocabulary, speaker labels, redaction and call analytics.Builds on AIF-C01
Amazon Translate, Amazon Polly and Amazon LexMatch the clue to the service, then remember one setting each: custom terminology, SSML, intents and slots.Known
Amazon Personalize, Amazon Comprehend Medical and AWS HealthLakeRecommendations from interaction data, medical text entities and a health-data store: pick by clue.Known
2.2Task
Train, fine-tune, and customize models for ML and AI solutions.
You should be able to: Train, tune and customize models: built-in algorithms, script mode, hyperparameters, faster training, fine-tuning and retrieval tuning.
2.2Task
Train, fine-tune, and customize models for ML and AI solutions.
You should be able to: Train, tune and customize models: built-in algorithms, script mode, hyperparameters, faster training, fine-tuning and retrieval tuning.
- Built-in algorithms for tabular dataEight SageMaker AI algorithms for tables: what each fits, its input format and its key settings.
- Built-in algorithms: clustering, dimensionality reduction, anomalyK-Means, PCA, Random Cut Forest and IP Insights: unsupervised algorithms and how to read their output.
2.2 Train, fine-tune, and customize models for ML and AI solutions.
- Built-in algorithms: text, sequence and forecastingBlazingText, Seq2Seq, Object2Vec, LDA, NTM and DeepAR: what each does and the clue that picks it.
- Built-in algorithms: image and videoImage Classification, Object Detection and Semantic Segmentation, and when Rekognition is the better choice.
- Training jobs, script mode and ML librariesBring your own training script to an AWS framework container: you write the model code and SageMaker AI runs the job.
Amazon SageMaker automatic model tuningPick a search strategy, set ranges and an objective metric, and balance speed, quality and cost.Builds on AIF-C01
- Reducing training timeFind where a job loses time, then fix it: data input, precision, instances, start-up and wasted epochs.
- Distributed training and HyperPodSplit the work across many GPUs by data or by model, and keep long jobs alive with HyperPod.
2.2 Train, fine-tune, and customize models for ML and AI solutions.
- Overfitting, underfitting and catastrophic forgettingRead the training and validation curves, pick the matching fix, and protect a fine-tuned model from forgetting.Builds on AIF-C01
- Combining modelsBagging, boosting, stacking and voting raise accuracy. Pipelines and cascades cut cost.
- Epochs, steps, batch size and learning rateHow epoch, step, batch size, learning rate and optimizer shape convergence.Builds on AIF-C01
- Task-specific prompt engineeringBuild a prompt for one task: examples, reasoning, role, output schema and sampling settings, then test and version it.Builds on AIF-C01
- Fine-tuning and continued pre-training in BedrockCustomization jobs in Amazon Bedrock: data in S3, a few hyperparameters, and a custom model you must serve.
- PEFT, LoRA and fine-tuning on SageMakerTrain a small share of weights with LoRA or QLoRA, on instances sized to the model.
2.2 Train, fine-tune, and customize models for ML and AI solutions.
2.3Task
Analyze and evaluate the performance of ML and AI systems.
You should be able to: Measure and explain how well a model works: experiments, baselines, drift, metrics, human review and checks for generative AI and RAG.
2.3Task
Analyze and evaluate the performance of ML and AI systems.
You should be able to: Measure and explain how well a model works: experiments, baselines, drift, metrics, human review and checks for generative AI and RAG.
- Experiment tracking: managed MLflowLog parameters, metrics and artifacts for every training run, compare the runs, and repeat the best one.Builds on AIF-C01
- Amazon Bedrock evaluationsSet up automatic, judge, human and RAG evaluation jobs in Amazon Bedrock, then compare the results.Builds on AIF-C01
- Performance baselines and drift detectionCompare live data and predictions with a baseline made from training data, and raise an alert on violations.Builds on AIF-C01
- Shadow variants and A/B testsTest a new model on a live endpoint by splitting traffic (A/B) or by mirroring it to a shadow copy that no user sees.
2.3 Analyze and evaluate the performance of ML and AI systems.
- Explaining model outputsShow which features drove one prediction or the whole model: SHAP, partial dependence, built-in importance.Builds on AIF-C01
- Debugging model convergenceFind out why training loss does not fall, and fix it: learning rate, initialization, gradients and data.
- Evaluating traditional ML modelsPick the metric that matches the cost of a mistake, set the threshold, and split the data so the score is honest.Builds on AIF-C01
- NLP and text-generation metricsBLEU, ROUGE, BERTScore, semantic similarity and perplexity: what each compares and which need a reference text.Builds on AIF-C01
- Human evaluation and human-in-the-loopPeople rate model output in Bedrock evaluation jobs, or review uncertain predictions in a human-in-the-loop workflow.Builds on AIF-C01
- LLM-as-a-judge and AI output assessmentChoose the judge model, write the rubric and rating scale, and check the judge against human ratings.Builds on AIF-C01
2.3 Analyze and evaluate the performance of ML and AI systems.