nerdexam
DatabricksDatabricks

GENERATIVE-AI-ENGINEER-ASSOCIATE · Question #30

GENERATIVE-AI-ENGINEER-ASSOCIATE Question #30: Real Exam Question with Answer & Explanation

The correct answer is D: All of the above. All of the provided approaches are effective for adjusting the LLM’s output to match the desired - Fine-tuning the LLM on a dataset of desired tone and style: This allows the model to learn from examples that reflect the preferred tone and style, leading to more accurate outputs

LLM Customization and Control

Question

A Generative AI Engineer is building an LLM to generate article headlines given the article content. However, the initial output from the LLM does not match the desired tone or style. Which approach would be most effective for adjusting the LLM's response to achieve the desired response?

Options

  • AExclude any article headlines that do not match the desired output
  • BFine-tune the LLM on a dataset of desired tone and style
  • CProvide the LLM with a prompt that explicitly instructs it to generate text in the desired tone and
  • DAll of the above

Explanation

All of the provided approaches are effective for adjusting the LLM’s output to match the desired - Fine-tuning the LLM on a dataset of desired tone and style: This allows the model to learn from examples that reflect the preferred tone and style, leading to more accurate outputs over - Providing the LLM with a prompt that explicitly instructs it to generate text in the desired tone and style: A clear and specific prompt can guide the model to produce the correct style or tone in its output. - Excluding any article headlines that do not match the desired output: This approach can be used in conjunction with the other two methods, helping to curate results that meet the

Topics

#LLM Control#Prompt Engineering#Fine-tuning#Output Post-processing

Community Discussion

No community discussion yet for this question.

Full GENERATIVE-AI-ENGINEER-ASSOCIATE PracticeBrowse All GENERATIVE-AI-ENGINEER-ASSOCIATE Questions