Learn Before
Debugging a Rule-Based Label Mapper
A developer is using a Large Language Model to classify customer feedback into two categories: POSITIVE or NEGATIVE. To map the model's sentence-level output to a final label, they implemented a simple rule: if the word 'positive' appears in the output sentence, assign the POSITIVE label. Analyze the following set of model outputs and identify which one would be misclassified by this rule. Explain the fundamental flaw in the rule-based approach that causes this error.
0
1
Tags
Ch.3 Prompting - 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
A developer is building a system to categorize customer support tickets into one of three classes:
URGENT,ROUTINE, orINFO_REQUEST. The language model they are using produces a full sentence as its output, such as 'This ticket appears to be an urgent matter.' Which of the following is the most direct, rule-based approach to map this sentence to the correct class label?Debugging a Rule-Based Label Mapper
Identifying Limitations of Simple Keyword Mapping