Flan-T5 Text2Text Inference

Type your prompt and pick a Flan-T5 model. For best performance, enable a GPU in the Space settings.

Examples
Model
32 1024
0 1.5
1 3

Notes:

  • If you want faster generation, set Space to use a GPU (in Settings → Hardware).
  • Larger models (flan-t5-large / flan-t5-xl) need more RAM — they may OOM on CPU or free GPU tiers.
  • You can add other models to DEFAULT_MODELS above or input a full model name from the Hub.