A fine-tuned text simplification and paraphrasing model based on Google's FLAN-T5 Small, designed to enhance text readability while preserving core semantic meaning.
May struggle with highly specialized or mixed-language texts
Usage Example
from transformers import pipeline
simplifier = pipeline(
"text2text-generation", model="agentlans/flan-t5-small-simplifier"
)
complex_text = "While navigating the labyrinthine corridors of epistemological uncertainty, the precocious philosopher paused to contemplate the intricate interplay between subjective perception and objective reality."
simplified_text = simplifier(complex_text, max_length=128)[0]["generated_text"]
print(simplified_text)
# The precocious philosopher paused to contemplate the complex interplay between subjective perception and objective reality while navigating the labyrinthine corridors of epistemological uncertainty.