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
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Computing Sciences
Foundations of Large Language Models Course
Related
A user wants to classify a piece of text using a large language model. They provide the following prompt:
'The movie was incredibly boring and the plot was predictable. What do you think?'
Which of the following statements best analyzes the primary weakness of this prompt for a classification task?
Example of an LLM Generating a Descriptive Negative Output for Polarity Classification
Improving a Prompt for Text Classification
You are tasked with creating a prompt to determine the sentiment of a customer review. Arrange the following components into the most effective and clear structure for a large language model.
A developer is building a system to classify customer reviews as 'Positive', 'Negative', or 'Neutral'. Instead of using a traditional classification model, they are prompting a large, general-purpose text generation model to perform the task. The model is given the review: 'The battery life on this new phone is incredible!' Which of the following potential model outputs best illustrates why a separate 'label extraction' step is often required in this approach?
Example of an LLM Generating a Descriptive Negative Output for Polarity Classification
Debugging an LLM-based Classification Pipeline
Interpreting Text Generation Model Outputs for Classification
Learn After
Justifying Negative Polarity Classification
A language model is tasked with classifying the polarity of the following text: 'The movie's plot was predictable and the acting felt uninspired.' Which of the following outputs is the best example of a descriptive classification the model might generate?
Debugging a Sentiment Analysis Program