YAML Metadata Warning: The pipeline tag "text2text-generation" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other

FLAN-T5 Small Simplifier

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.

Model Details

Capabilities

The model is specialized in:

  • Reducing text complexity
  • Generating more readable paraphrases
  • Maintaining original semantic content

Intended Use

Primary Use Cases:

  • Academic writing simplification
  • Technical document readability enhancement
  • Content adaptation for diverse audiences

Limitations:

  • Optimized for English language texts
  • Best performance on sentence-length inputs
  • 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.

Training Details

Dataset: agentlans/sentence-paraphrases

  • Source: Curated paraphrase collections
  • Readability assessment using a finetuned DeBERTa v3 XSmall

Training Hyperparameters:

  • Learning Rate: 5e-05
  • Batch Size: 8
  • Optimizer: Adam
  • Epochs: 2.0

Performance Metrics:

Epoch Training Loss Validation Loss
0.22 1.4423 1.2431
0.89 1.3595 1.1787
1.78 1.2952 1.1518

Framework

  • Transformers 4.43.3
  • PyTorch 2.3.0+cu121
  • Datasets 3.2.0

Ethical Considerations

Users should review generated text for accuracy and appropriateness, as the model may inherit biases from training data.

Downloads last month
8
Safetensors
Model size
77M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for grazh/flan-t5-small

Finetuned
(412)
this model

Dataset used to train grazh/flan-t5-small