nerdexam
Amazon

AIF-C01 · Question #215

A company wants to fine-tune a foundation model (FM) to answer questions for a specific domain. The company wants to use instruction-based fine-tuning. How should the company prepare the training…

The correct answer is C. Create pairs of questions and answers that specifically address topics related to the company's. Instruction-based fine-tuning requires a dataset of instruction–response examples. By curating question–answer pairs focused on the company’s domain, you teach the model exactly how to interpret domain-specific queries and generate the correct responses during inference.

Submitted by stefanr· Mar 30, 2026Fine-tuning and Customization

Question

A company wants to fine-tune a foundation model (FM) to answer questions for a specific domain. The company wants to use instruction-based fine-tuning. How should the company prepare the training data?

Options

  • AGather company internal documents and industry-specific materials. Merge the documents and
  • BCollect external company reviews from various online sources. Manually label each review as
  • CCreate pairs of questions and answers that specifically address topics related to the company's
  • DCreate few-shot prompts to instruct the model to answer only domain knowledge.

How the community answered

(18 responses)
  • A
    6% (1)
  • B
    6% (1)
  • C
    78% (14)
  • D
    11% (2)

Explanation

Instruction-based fine-tuning requires a dataset of instruction–response examples. By curating question–answer pairs focused on the company’s domain, you teach the model exactly how to interpret domain-specific queries and generate the correct responses during inference.

Topics

#Foundation Model fine-tuning#Instruction fine-tuning#Training data preparation#Generative AI data

Community Discussion

No community discussion yet for this question.

Full AIF-C01 Practice