Case Study

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

Updated 2025-10-04

Contributors are:

Who are from:

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