Example

Example of an LLM Generating a Descriptive Negative Output for Polarity Classification

When a Large Language Model (LLM) performs polarity classification, it might generate a full sentence as its response. For instance, given the input text 'The service at the restaurant was slower than expected, which was a bit frustrating,' the model could produce the output: 'The polarity of the text can be classified as negative.' This complete example illustrates the process where an LLM analyzes an input and generates a descriptive classification.

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course