Base Foundation Models Flashcards

AWS Bedrock Base foundation models (14 cards)

1
Q

What factors should you consider when choosing a foundation model?

A

Model types, performance requirements, capabilities, constraints, compliance, customization levels, inference levels, licensing agreements, context window size, latency, and whether the model is multimodal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Amazon Titan?

A

A high-performing foundation model from AWS capable of handling text, images, and multimodal tasks via Amazon Bedrock API. It can also be fine-tuned with your own data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the primary use cases for Amazon Titan, Llama-2, Claude, and Stability AI?

A

Amazon Titan: Content creation, classification, education

Llama-2: Text generation, customer service

Claude: Analysis, forecasting, document comparison

Stability AI: Image creation for advertising, media, and more

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why is the number of input tokens significant for a foundation model?

A

Models with higher token limits can handle larger context windows, making them better suited for tasks like analyzing large code bases or books.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which model is most cost-effective for 1,000 tokens, and why is pricing important?

A

Amazon Titan Text Express is the cheapest, followed by Llama-2 and Claude. Pricing is crucial because more expensive models may provide better answers but might not always justify the cost for your needs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are multimodal capabilities in foundation models?

A

Multimodal models can process multiple types of inputs (e.g., audio, text, video) and generate various outputs (e.g., images, audio, video, text) simultaneously

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Amazon Bedrock used for?

A

Amazon Bedrock provides API access to foundation models, including Amazon Titan, enabling easy integration and use of these models in applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What makes smaller foundation models more cost-effective?

A

Smaller models are usually less expensive because they consume fewer resources but may have limited knowledge and capabilities compared to larger models.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are some considerations when using Claude for large input data?

A

Claude has a token limit of 200K, allowing it to handle larger context windows. This makes it useful for processing large codebases or entire books.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why is testing essential when choosing a foundation model?

A

Testing helps determine how well a model fits specific requirements, such as input handling, accuracy, latency, and cost-effectiveness.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which foundation model is specialized in image generation?

A

Stability AI’s Stable Diffusion is specialized in image generation, often used for advertising and media.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do pricing differences impact the choice of foundation models?

A

Higher-priced models might provide more accurate or comprehensive answers, but cost-effective models can often meet specific needs without overspending.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are some use cases for Llama-2?

A

Llama-2 is suited for tasks like text generation and customer service due to its ability to handle dialogue and large-scale tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why are context windows important in foundation models?

A

Context windows determine how much data can be sent to a model at once, impacting the model’s ability to process and respond to complex inputs effectively.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly