Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

google-t5
/
t5-large

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

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

  • Libraries
  • Transformers

    How to use google-t5/t5-large 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="google-t5/t5-large")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("google-t5/t5-large")
    model = AutoModelForSeq2SeqLM.from_pretrained("google-t5/t5-large")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Update README.md

#21 opened 9 months ago by
AiCoderv2

[QUESTION] How to skip the translation of some tokens?

#18 opened almost 2 years ago by
deepak-llm-art

Adds the tokenizer configuration file

#16 opened about 2 years ago by
lysandre

Adding ONNX file of this model

#15 opened over 2 years ago by
MaiAmin

[AUTOMATED] Model Memory Requirements

#14 opened over 2 years ago by
model-sizer-bot

Add Core ML conversion

1
#11 opened almost 3 years ago by
GuidoMarinelli

Determining probability of result when checking whether a premise and hypothesis are related

#8 opened over 3 years ago by
Waqar-107

Add evaluation results on the 3.0.0 config of cnn_dailymail

#6 opened over 3 years ago by
autoevaluator

Add evaluation results on the 3.0.0 config of cnn_dailymail

#5 opened over 3 years ago by
autoevaluator

Add evaluation results on the 3.0.0 config of cnn_dailymail

#4 opened almost 4 years ago by
autoevaluator

Add evaluation results on xsum dataset

#2 opened almost 4 years ago by
autoevaluator

Optimize the summarization time

1
#1 opened almost 4 years ago by
yassinr
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs