GENERATIVE-AI-ENGINEER-ASSOCIATE · Question #30
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…
The correct answer is D. All of the above. All three approaches are valid and complementary strategies for aligning LLM output with a desired tone and style. Fine-tuning on a curated dataset (B) adjusts the model's weights directly, producing strong stylistic alignment for repeated tasks. Explicit prompt instructions…
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
How the community answered
(71 responses)- A6% (4)
- B3% (2)
- C1% (1)
- D90% (64)
Explanation
All three approaches are valid and complementary strategies for aligning LLM output with a desired tone and style. Fine-tuning on a curated dataset (B) adjusts the model's weights directly, producing strong stylistic alignment for repeated tasks. Explicit prompt instructions (C) are fast and cost-effective, guiding the model's behavior at inference time without retraining. Filtering out non-matching outputs (A) is used in data curation and reinforcement learning workflows to ensure only desired examples are kept or used for further training. In practice, all three can be combined to iteratively improve output quality, making D the correct answer.
Topics
Community Discussion
No community discussion yet for this question.