Model card
Flan-T5 Small is a lightweight, encoder-decoder model designed for efficient text-to-text generation. Unlike the base T5, the Flan version is instruction-tuned, meaning it performs significantly better on zero-shot tasks without requiring extensive fine-tuning. For developers, this model is an ideal choice for low-latency applications or edge deployment where memory is constrained. It excels at focused NLP tasks such as classification, basic summarization, and question answering. While it lacks the reasoning depth of larger LLMs, its small footprint makes it an excellent candidate for distillation targets or as a specialized component within a larger modular pipeline via the Hugging Face Transformers library.
Model files and versions
Download this model
We recommend using the ModelScope CLI or SDK. Install ModelScope first, then choose a full snapshot, single file, SDK or Git LFS workflow.
google/flan-t5-smallInstall the CLI and SDK dependency before downloading.
pip install modelscopeDownload the complete weights, configuration and model card.
modelscope download --model google/flan-t5-smallREADME.md is used as an example; replace it with another repository file when needed.
modelscope download --model google/flan-t5-small README.md --local_dir ./dirUseful in Python projects and automation scripts.
from modelscope import snapshot_download
model_dir = snapshot_download('google/flan-t5-small')Make sure Git LFS is installed correctly.
git lfs install
git clone https://www.modelscope.cn/google/flan-t5-small.gitFetch the repository structure first, then pull large files when needed.
GIT_LFS_SKIP_SMUDGE=1 git clone https://www.modelscope.cn/google/flan-t5-small.gitHow to use
- 01Step 1
Read the model card and source information.
- 02Step 2
Start with a small, non-sensitive evaluation.
- 03Step 3
Review quality, licensing and usage limits.
- 04Step 4
Adopt it only after validation.
Discussions
Use this space to keep checking source information, usage experience and maintenance status.
Open source page