Example

Example of a Text Style Transfer Prompt

A language model can be prompted to perform a text style transfer task by providing a direct instruction to modify the tone or format of a given text. For example, to change an informal message into a professional one, the prompt could be: 'Rewrite this text in a formal tone. Text: Hey, what's up? Long time no see!' The model is expected to output a formally phrased version, such as 'Hello, how have you been? It has been quite some time since we last met!'

0

1

Updated 2026-04-30

Contributors are:

Who are from:

Tags

Foundations of Large Language Models

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences