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

SoyGema
/
t5-small

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

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

  • Libraries
  • Transformers

    How to use SoyGema/t5-small with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "translation" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("translation", model="SoyGema/t5-small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("SoyGema/t5-small")
    model = AutoModelForSeq2SeqLM.from_pretrained("SoyGema/t5-small")
  • Notebooks
  • Google Colab
  • Kaggle
t5-small
1.21 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
SoyGema's picture
SoyGema
Test upload t5 model
284381b almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    8.47 kB
    Test upload t5 model almost 3 years ago
  • config.json
    1.21 kB
    Test upload t5 model almost 3 years ago
  • flax_model.msgpack
    242 MB
    xet
    Test upload t5 model almost 3 years ago
  • generation_config.json
    147 Bytes
    Test upload t5 model almost 3 years ago
  • model.safetensors
    242 MB
    xet
    Test upload t5 model almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    242 MB
    xet
    Test upload t5 model almost 3 years ago
  • rust_model.ot
    242 MB
    xet
    Test upload t5 model almost 3 years ago
  • spiece.model
    792 kB
    xet
    Test upload t5 model almost 3 years ago
  • tf_model.h5
    242 MB
    xet
    Test upload t5 model almost 3 years ago
  • tokenizer.json
    1.39 MB
    Test upload t5 model almost 3 years ago
  • tokenizer_config.json
    2.32 kB
    Test upload t5 model almost 3 years ago