Get Mystery Box with random crypto!

​​A Recipe For Arbitrary Text Style Transfer with Large Langua | Data Science by ODS.ai 🦜

​​A Recipe For Arbitrary Text Style Transfer with Large Language Models

Text style transfer is rewriting text to incorporate additional or alternative stylistic elements while preserving the overall semantics and structure.

Large language models are trained only for continuation, but recently many approaches showed that it is possible to perform other NLP tasks by expressing them as prompts that encourage the model to output the desired answer as the continuation.

The authors present a new prompting method (augmented zero-shot learning), which frames style transfer as a sentence rewriting task and requires only natural language instruction.

There are many great examples in the paper and on the project page - both formal and informal.
For example, "include the word "oregano"" and "in the style of a pirate".

Paper: https://arxiv.org/abs/2109.03910
Code: https://storage.googleapis.com/style-transfer-paper-123/index.html

A detailed unofficial overview of the paper: https://andlukyane.com/blog/paper-review-llmdialog

#deeplearning #nlp #styletransfer