概念 · AIF-C01 の発展
Choosing a foundation model in Bedrock
Read a model’s spec sheet, shortlist by family, then test on your own data.
このレッスンはまだ翻訳されていないため、英語で表示しています。
AI Practitionerで学んだこと
- The checklist: cost, modality, latency, languages, size, customization, length and caching.
- Start with the cheapest and fastest model that meets the quality bar.
- Amazon Bedrock puts models from several providers behind one service, so switching is cheap.
Anthropic Claude
- Good for
- Reasoning, coding, long documents
- Remember
- Several sizes, small to large
Amazon Nova
- Good for
- Low price, speed, images and video
- Remember
- Micro is text only
Meta Llama
- Good for
- Open-weight text models
- Remember
- Can be fine-tuned in Bedrock
Cohere
- Good for
- Embeddings and reranking
- Remember
- Used inside RAG
Amazon Titan
- Good for
- Text and image embeddings
- Remember
- Vector search input
| Family | Good for | Remember |
|---|---|---|
| Anthropic Claude | Reasoning, coding, long documents | Several sizes, small to large |
| Amazon Nova | Low price, speed, images and video | Micro is text only |
| Meta Llama | Open-weight text models | Can be fine-tuned in Bedrock |
| Cohere | Embeddings and reranking | Used inside RAG |
| Amazon Titan | Text and image embeddings | Vector search input |
1 / 2
Anthropic Claude
- Good for
- Reasoning, coding, long documents
- Remember
- Several sizes, small to large
Amazon Nova
- Good for
- Low price, speed, images and video
- Remember
- Micro is text only
Meta Llama
- Good for
- Open-weight text models
- Remember
- Can be fine-tuned in Bedrock
| Family | Good for | Remember |
|---|---|---|
| Anthropic Claude | Reasoning, coding, long documents | Several sizes, small to large |
| Amazon Nova | Low price, speed, images and video | Micro is text only |
| Meta Llama | Open-weight text models | Can be fine-tuned in Bedrock |
2 / 2
Cohere
- Good for
- Embeddings and reranking
- Remember
- Used inside RAG
Amazon Titan
- Good for
- Text and image embeddings
- Remember
- Vector search input
| Family | Good for | Remember |
|---|---|---|
| Cohere | Embeddings and reranking | Used inside RAG |
| Amazon Titan | Text and image embeddings | Vector search input |
- 1Write down modality, latency, price, language and Region needs.
- 2Shortlist two or three models of different families or sizes.
- 3Run an evaluation with your own prompts, then pick.
流れ
- 1Write down modality, latency, price, language and Region needs.
- 2Shortlist two or three models of different families or sizes.
- 3Run an evaluation with your own prompts, then pick.
Turn requirements into a tested choice.
概要
This exam turns the checklist into a decision. Each Amazon Bedrock model has a model card with the facts: the inputs and outputs it supports (modality), the context window, the price per input and output token, the languages, the Regions where it runs, and whether you can customize it. Compare those fields with the need in the question.
概要
Model families have habits. Anthropic Claude models are strong at reasoning, coding and long documents. Amazon Nova models aim at low price and speed; Nova Lite and Pro also take images and video. Meta Llama models have open weights and can be fine-tuned in Bedrock. Cohere and Amazon Titan offer embedding models for search and RAG, and Cohere also offers a reranker. Pick a family, then the smallest size that passes your tests.
概要
A spec sheet cannot tell you the quality on your task. Run an Amazon Bedrock evaluation job with your own prompts to compare the quality of the answers. Then check latency and price for each model yourself, in the playground or with your own timing and the price list, before you commit. If a model is not in your Region, a cross-Region inference profile can route requests to other Regions in the same geography.
覚えること
- Model card fields to compare: modality, context window, price per token, languages, Regions and customization.
- A bigger context window takes more text, but a longer prompt costs more and adds delay.
- Not every model is in every Region. Cross-Region inference profiles route to nearby Regions.
- Only some models can be fine-tuned in Bedrock, and the list differs by Region.
覚えること
- Bedrock evaluations compare models on your own data for answer quality. Check latency and cost separately.
- Choose the smallest model that passes your tests.
試験では
- “Compare candidate models on the company’s own prompts before choosing” points to an Amazon Bedrock evaluation job, which compares the quality of answers.
- “The cheapest model that reads images and answers quickly” points to a small, fast multimodal model, then a quality test.
- “The model is not offered in our Region” points to a cross-Region inference profile.
このタスクの内容 · 2.1
- Choosing a foundation model in Bedrock
- Custom, managed, pre-trained or foundation model
- Selecting ML models and algorithms
JumpStart and AutoML
- Fine-tuning strategies for foundation models
- RAG architecture patterns
- Training time, cost and performance trade-offs
- FM performance, latency and cost trade-offs
Textract
Rekognition
Comprehend
Transcribe
Translate, Polly, Lex
Personalize and health AI