Learn Before
A marketing team is using a text generation model to create product descriptions. They have two strict requirements for the output: 1) The tone must be exclusively positive. 2) The names of any competing brands must not be mentioned. Which of the following describes the most effective application of a constraint-based penalty to enforce these requirements during the text generation process?
0
1
Tags
Ch.5 Inference - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Analysis in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Enforcing Content Rules in Text Generation
A marketing team is using a text generation model to create product descriptions. They have two strict requirements for the output: 1) The tone must be exclusively positive. 2) The names of any competing brands must not be mentioned. Which of the following describes the most effective application of a constraint-based penalty to enforce these requirements during the text generation process?
A developer is building a system to summarize news articles. A key requirement is that the summaries must be purely objective and avoid any subjective or opinionated language. To enforce this, the developer decides to implement a penalty function. Which of the following describes a penalty that operates by evaluating the final 'surface form' of the generated text, rather than the model's internal process?