Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon AIF-C01 Exam - Topic 3 Question 27 Discussion

Actual exam question for Amazon's AIF-C01 exam
Question #: 27
Topic #: 3
[All AIF-C01 Questions]

A company is using a pre-trained large language model (LLM) to extract information from documents. The company noticed that a newer LLM from a different provider is available on Amazon Bedrock. The company wants to transition to the new LLM on Amazon Bedrock.

What does the company need to do to transition to the new LLM?

Show Suggested Answer Hide Answer
Suggested Answer: C

Transitioning to a new large language model (LLM) on Amazon Bedrock typically involves minimal changes when the new model is pre-trained and available as a foundation model. Since the company is moving from one pre-trained LLM to another, the primary task is to ensure compatibility between the new model's input requirements and the existing application. Adjusting the prompt template is often necessary because different LLMs may have varying prompt formats, tokenization methods, or response behaviors, even for similar tasks like document extraction.

Exact Extract from AWS AI Documents:

From the AWS Bedrock User Guide:

'When switching between foundation models in Amazon Bedrock, you may need to adjust the prompt template to align with the new model's expected input format and optimize its performance for your use case. Prompt engineering is critical to ensure the model understands the task and generates accurate outputs.'

(Source: AWS Bedrock User Guide, Prompt Engineering for Foundation Models)

Detailed

Option A: Create a new labeled dataset.Creating a new labeled dataset is unnecessary when transitioning to a new pre-trained LLM, as pre-trained models are already trained on large datasets. This option would only be relevant if the company were training a custom model from scratch, which is not the case here.

Option B: Perform feature engineering.Feature engineering is typically associated with traditional machine learning models, not pre-trained LLMs. LLMs process raw text inputs, and transitioning to a new LLM does not require restructuring input features. This option is incorrect.

Option C: Adjust the prompt template.This is the correct approach. Different LLMs may interpret prompts differently due to variations in training data, tokenization, or model architecture. Adjusting the prompt template ensures the new LLM understands the task (e.g., document extraction) and produces the desired output format. AWS documentation emphasizes prompt engineering as a key step when adopting a new foundation model.

Option D: Fine-tune the LLM.Fine-tuning is not required for transitioning to a new pre-trained LLM unless the company needs to customize the model for a highly specific task. Since the question does not indicate a need for customization beyond document extraction (a common LLM capability), fine-tuning is unnecessary.


AWS Bedrock User Guide: Prompt Engineering for Foundation Models (https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-engineering.html)

AWS AI Practitioner Learning Path: Module on Working with Foundation Models in Amazon Bedrock

Amazon Bedrock Developer Guide: Transitioning Between Models (https://docs.aws.amazon.com/bedrock/latest/devguide/)

Contribute your Thoughts:

0/2000 characters
Aja
6 days ago
This reminds me of a practice question where we had to create a labeled dataset. I wonder if option A is relevant here too?
upvoted 0 times
...
Coleen
12 days ago
I'm not entirely sure, but I feel like fine-tuning the LLM could be necessary to get the best results with the new model.
upvoted 0 times
...
Kimbery
17 days ago
I remember we talked about adjusting prompt templates in class, so I think option C might be important for transitioning to the new LLM.
upvoted 0 times
...
Rebbecca
23 days ago
I'm pretty confident that the answer is D. Fine-tuning the LLM is the best way to transition to the new model and ensure it performs well on the company's specific use case. The other options might work, but fine-tuning is the most targeted approach.
upvoted 0 times
...
Toshia
28 days ago
Adjusting the prompt template sounds like the most logical step to me. Since the company is already using a pre-trained LLM, they likely don't need to create a new dataset or perform feature engineering. Tweaking the prompt should be the easiest way to transition to the new LLM.
upvoted 0 times
...
Eliz
1 month ago
Hmm, I'm a bit unsure about this one. I know we need to transition to the new LLM, but I'm not sure if creating a new dataset, performing feature engineering, or fine-tuning the LLM are the right approaches. I'll need to think this through carefully.
upvoted 0 times
...
Felix
1 month ago
This seems like a straightforward question about transitioning to a new LLM. I think the key is to understand the different options and choose the one that best fits the company's needs.
upvoted 0 times
...
Elza
2 months ago
Creating a new labeled dataset might be needed to optimize the new LLM.
upvoted 0 times
...
Clarinda
2 months ago
A) Create a new labeled dataset? Are they trying to reinvent the wheel? Just adjust the prompt, easy peasy.
upvoted 0 times
...
Tarra
2 months ago
I believe adjusting the prompt template is also important for a smooth transition.
upvoted 0 times
...
Rebeca
3 months ago
I agree with Pansy, fine-tuning the LLM is necessary for the transition.
upvoted 0 times
...
Quentin
3 months ago
D) Fine-tune the LLM. Gotta get that model dialed in for the new data. Can't just slap it on and hope for the best.
upvoted 0 times
Lorean
2 months ago
A) Create a new labeled dataset
upvoted 0 times
...
...
Pansy
3 months ago
I think the company needs to fine-tune the LLM.
upvoted 0 times
...
Adaline
3 months ago
C) Adjust the prompt template. That's the way to go. No need for all that extra work.
upvoted 0 times
Shalon
3 months ago
User 3: It will save us time and resources compared to creating a new labeled dataset or performing feature engineering.
upvoted 0 times
...
Selma
3 months ago
User 2: Agreed, that seems like the most efficient way to transition.
upvoted 0 times
...
Lauryn
3 months ago
User 1: We should adjust the prompt template for the new LLM.
upvoted 0 times
...
...

Save Cancel