Learn Before
Example

Example of a Spam Classification Prompt

An example of a prompt for a classification task is instructing a model to identify spam. The prompt might be structured as: 'Classify the following email as spam or not spam. Text: Congratulations! You’ve won a $500 gift card. Click here to claim now.' The model's task is to assign either the 'spam' or 'not spam' label to the provided text.

0

1

Updated 2025-10-09

Contributors are:

Who are from:

Tags

Ch.4 Alignment - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences