arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2109.03910cs.CL
收藏

使用大语言模型实现任意文本样式转换的方法

A Recipe For Arbitrary Text Style Transfer with Large Language Models

Google Research(谷歌研究院);University of Pennsylvania(宾夕法尼亚大学)

Emily Reif, Daphne Ippolito, Ann Yuan, Andy Coenen, Chris Callison-Burch, Jason Wei

摘要:

在本文中,我们利用大语言模型(LM)来执行zero-shot文本风格转换。我们提出了一种提示方法,我们称之为增强零样本学习,框架的风格转换作为一个句子重写任务,只需要一个自然语言指令,没有模型微调或样本的目标风格。增强的零样本学习很简单,不仅在标准的风格转换任务(如情感)上,而且在任意转换(如“使这成为情节剧”或“插入一个隐喻”)上都显示出有希望的结果。"

英文摘要:

In this paper, we leverage large language models (LMs) to perform zero-shot text style transfer. We present a prompting method that we call augmented zero-shot learning, which frames style transfer as a sentence rewriting task and requires only a natural language instruction, without model fine-tuning or exemplars in the target style. Augmented zero-shot learning is simple and demonstrates promising results not just on standard style transfer tasks such as sentiment, but also on arbitrary transformations such as "make this melodramatic" or "insert a metaphor."

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑