← All models · Paraphrase generation

use case · multi-model

Measure the meaning drift

Word overlap tells you the wording changed — but did the meaning survive? Two models answer that. The T5 paraphraser rewrites the sentence; then MiniLM (all-MiniLM-L6-v2, ~23 MB) embeds the original and each paraphrase and we take the cosine similarity of their vectors. High semantic similarity + low lexical overlap is the sweet spot: fresh words, same meaning. All on-device.

Original

Semantic = cosine similarity of MiniLM embeddings (meaning). Lexical = word-set overlap (wording). A good paraphrase pushes lexical down while keeping semantic high.

← Wild · Back to Paraphrase