Model card
Flan-T5 Base is an instruction-tuned version of the original T5 encoder-decoder framework, designed for developers who need a lightweight yet versatile text-to-text model. Unlike standard T5, Flan-T5 is trained on a vast collection of tasks phrased as instructions, significantly improving its zero-shot performance across NLU and NLG benchmarks. It is particularly effective for constrained environments where latency and memory overhead are concerns, serving as a reliable baseline for text summarization, classification, and question answering. Because it follows a standard Seq2Seq architecture, it integrates seamlessly with the Hugging Face Transformers library, making it easy to fine-tune on domain-specific datasets without requiring massive compute clusters.
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-baseInstall the CLI and SDK dependency before downloading.
pip install modelscopeDownload the complete weights, configuration and model card.
modelscope download --model google/flan-t5-baseREADME.md is used as an example; replace it with another repository file when needed.
modelscope download --model google/flan-t5-base README.md --local_dir ./dirUseful in Python projects and automation scripts.
from modelscope import snapshot_download
model_dir = snapshot_download('google/flan-t5-base')Make sure Git LFS is installed correctly.
git lfs install
git clone https://www.modelscope.cn/google/flan-t5-base.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-base.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