Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
110 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

TinyStyler: Efficient Few-Shot Text Style Transfer with Authorship Embeddings (2406.15586v2)

Published 21 Jun 2024 in cs.CL

Abstract: The goal of text style transfer is to transform the style of texts while preserving their original meaning, often with only a few examples of the target style. Existing style transfer methods generally rely on the few-shot capabilities of LLMs or on complex controllable text generation approaches that are inefficient and underperform on fluency metrics. We introduce TinyStyler, a lightweight but effective approach, which leverages a small LLM (800M params) and pre-trained authorship embeddings to perform efficient, few-shot text style transfer. We evaluate on the challenging task of authorship style transfer and find TinyStyler outperforms strong approaches such as GPT-4. We also evaluate TinyStyler's ability to perform text attribute style transfer (formal $\leftrightarrow$ informal) with automatic and human evaluations and find that the approach outperforms recent controllable text generation methods. Our model has been made publicly available at https://huggingface.co/tinystyler/tinystyler .

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (6)
  1. Zachary Horvitz (5 papers)
  2. Ajay Patel (17 papers)
  3. Kanishk Singh (4 papers)
  4. Chris Callison-Burch (102 papers)
  5. Kathleen McKeown (85 papers)
  6. Zhou Yu (206 papers)
Citations (1)

Summary

We haven't generated a summary for this paper yet.