ML Model and Foundation Model (FM) Development
Choosing, training, tuning and evaluating models, from built-in algorithms to fine-tuned foundation models.
2.1タスク
Choose appropriate modeling approaches for ML and AI solutions.
できるようになること: Pick the model, algorithm, foundation model, AI service or architecture that fits the need, weighing accuracy, speed, cost and effort.
2.1タスク
Choose appropriate modeling approaches for ML and AI solutions.
できるようになること: 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.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.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.AIF-C01 の発展
Amazon SageMaker JumpStart, Canvas and AutopilotThree ways to start fast in SageMaker AI: ready models, no-code models and automatic model building.AIF-C01 の発展
- Fine-tuning strategies for foundation modelsChoose the lightest way to adapt a model: prompting, RAG, fine-tuning, continued pre-training or distillation.AIF-C01 の発展
- RAG architecture patternsNaive, advanced, graph, agentic and multimodal RAG, and when each one fits.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.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.AIF-C01 の発展
Amazon RekognitionPick the image or video API, use face collections for search, and know when Custom Labels is needed.AIF-C01 の発展
Amazon ComprehendBuilt-in insights, custom classification and entity recognition, and real-time versus asynchronous use.AIF-C01 の発展
Amazon TranscribeChoose batch or streaming, then tune accuracy and privacy with vocabulary, speaker labels, redaction and call analytics.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.既習
Amazon Personalize, Amazon Comprehend Medical and AWS HealthLakeRecommendations from interaction data, medical text entities and a health-data store: pick by clue.既習
2.2タスク
Train, fine-tune, and customize models for ML and AI solutions.
できるようになること: Train, tune and customize models: built-in algorithms, script mode, hyperparameters, faster training, fine-tuning and retrieval tuning.
2.2タスク
Train, fine-tune, and customize models for ML and AI solutions.
できるようになること: 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.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.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.AIF-C01 の発展
- Task-specific prompt engineeringBuild a prompt for one task: examples, reasoning, role, output schema and sampling settings, then test and version it.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.3タスク
Analyze and evaluate the performance of ML and AI systems.
できるようになること: Measure and explain how well a model works: experiments, baselines, drift, metrics, human review and checks for generative AI and RAG.
2.3タスク
Analyze and evaluate the performance of ML and AI systems.
できるようになること: Measure and explain how well a model works: experiments, baselines, drift, metrics, human review and checks for generative AI and RAG.
2.3 Analyze and evaluate the performance of ML and AI systems.
- Performance baselines and drift detectionCompare live data and predictions with a baseline made from training data, and raise an alert on violations.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.
- Explaining model outputsShow which features drove one prediction or the whole model: SHAP, partial dependence, built-in importance.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.AIF-C01 の発展
- NLP and text-generation metricsBLEU, ROUGE, BERTScore, semantic similarity and perplexity: what each compares and which need a reference text.AIF-C01 の発展
2.3 Analyze and evaluate the performance of ML and AI systems.
- 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.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.AIF-C01 の発展
- Evaluating RAG retrieval and answersScore the search and the answer separately on a fixed set of golden questions, and keep watching over time.AIF-C01 の発展