Learn Before
Penalty Function Design for a Safety-Critical Chatbot
A team is developing a chatbot to provide general health information. A critical safety requirement is that the chatbot must never suggest specific medication dosages. However, during testing, the model sometimes generates outputs like, 'For a headache, you could take 500mg of paracetamol.' Your task is to use a penalty function during the decoding process to prevent this behavior. Describe the specific characteristics or patterns in the generated text that your penalty function would be designed to identify and penalize to solve this problem.
0
1
Tags
Ch.5 Inference - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Penalty Function Design for a Safety-Critical Chatbot
A development team is building a language model to generate historical fiction narratives. Their goal is to ensure that while the story is creative, specific entities like dates and the names of historical figures remain factually accurate. Which of the following describes the most effective application of a flexible penalty function to balance these two requirements during text generation?
Designing a Penalty Function for High-Quality Code Generation