Paraphrase Generator

Generate alternative phrasings for any sentence (beam or sampling).

View on GitHub

About This Project

This demo wraps a fine-tuned T5 model for paraphrasing. It supports both deterministic beam search and diverse sampling with temperature/top-k/top-p. The UI below is served by Streamlit and loaded here for convenience.

  • Model: T5-small fine-tuned on QQP/MRPC/PAWS mix
  • Frontend: Streamlit app embedded in this page
  • Host: Render (separate web service)

Tip: try short commands (“Turn off the kitchen lights.”) and longer sentences (“Please confirm the appointment is set for tomorrow at 10 AM.”).

Live Demo

If the embed doesn’t load, open it directly: Open Paraphrase Demo

Example Prompts

  • Please confirm the appointment is set for tomorrow at 10 AM.
  • The meeting was postponed due to weather.
  • Turn off the kitchen lights.
  • Where is the nearest coffee shop?
  • This code needs a quick cleanup.
  • Thanks for your patience.