Paraphrase projects

Six open-source projects for generating paraphrases and telling human writing from AI writing.

These came out of one idea: generate paraphrases, then keep only the ones a classifier can't tell from human writing. Back-translation and the NMT model generate, the classifier judges, the GAN loop combines the two to improve its own prompt, and GAN Utils wraps generation in a service. All are Python, MIT-0 licensed, and the LLM-based ones run on any OpenRouter model.

Back-Translation Paraphraser

Translates text into another language and back, for example English to French to English, to get a paraphrase.

github.com/waifuai/paraphrase-back-translate

Paraphrase GAN

A generator and classifier loop that improves its own paraphrasing prompt.

github.com/waifuai/paraphrase-gan

Paraphrase GAN Utils

Paraphrasing as a service, with the plumbing a real deployment needs.

github.com/waifuai/paraphrase-gan-utils

Human Sentence Classifier

Decides whether a sentence was written by a person or by a model.

github.com/waifuai/paraphrase-human-sentence-classifier

Neural Machine Translation Paraphraser

A classic seq2seq model trained to paraphrase English sentences, built before the LLM projects.

github.com/waifuai/paraphrase-neural-machine-translation

Paraphrase Generation

The umbrella repository that collects the paraphrase projects in one place.

github.com/waifuai/paraphrase-generation

Related