Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

google
/
flan-t5-small

Transformers
PyTorch
google-tensorflow TensorFlow
JAX
Safetensors
t5
text2text-generation
text-generation-inference
Model card Files Files and versions
xet
Community
24

Instructions to use google/flan-t5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use google/flan-t5-small with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("google/flan-t5-small")
    model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-small")
  • Notebooks
  • Google Colab
  • Kaggle
flan-t5-small
1.06 GB
Ctrl+K
Ctrl+K
  • 7 contributors
History: 15 commits
ybelkada's picture
ybelkada
Try with text generation
10075d4 over 3 years ago
  • .gitattributes
    1.43 kB
    initial commit over 3 years ago
  • README.md
    11.1 kB
    Try with text generation over 3 years ago
  • config.json
    1.4 kB
    Update config.json (#4) over 3 years ago
  • flax_model.msgpack
    308 MB
    xet
    add flax weights over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    308 MB
    xet
    add pytorch weights over 3 years ago
  • special_tokens_map.json
    2.2 kB
    add tokenizer over 3 years ago
  • spiece.model
    792 kB
    xet
    add tokenizer over 3 years ago
  • tf_model.h5
    440 MB
    xet
    add tf model over 3 years ago
  • tokenizer.json
    2.42 MB
    add tokenizer over 3 years ago
  • tokenizer_config.json
    2.54 kB
    add tokenizer over 3 years ago