Run this model with HF Jobs
Run google-t5/t5-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/google-t5/t5-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/google-t5/t5-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use google-t5/t5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google-t5/t5-base 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-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google-t5/t5-base") model = AutoModelForSeq2SeqLM.from_pretrained("google-t5/t5-base", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Add evaluation results on xsum dataset
Browse filesBeep boop, I am a bot from Hugging Face's automatic model evaluator 👋!\
Your model has been evaluated on the [xsum](https://huggingface.co/datasets/xsum) dataset by @abhijeet , using the predictions stored [here](https://huggingface.co/datasets/autoevaluate/autoeval-staging-eval-project-xsum-ad8ac8a3-10195349).\
Accept this pull request to see the results displayed on the [Hub leaderboard](https://huggingface.co/spaces/autoevaluate/leaderboards?dataset=xsum).\
Evaluate your model on more datasets [here](https://huggingface.co/spaces/autoevaluate/model-evaluator?dataset=xsum).
123453 unmodified lines910111213141516---language:- en- fr- ro3 unmodified linestags:- summarization- translationlicense: apache-2.0---[Google's T5](https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html)123453 unmodified lines9101112131415161718192021222324252627282930313233343536373839404142434445464748495051---language:- en- fr- ro3 unmodified linestags:- summarization- translationlicense: apache-2.0model-index:- name: t5-baseresults:- task:type: summarizationname: Summarizationdataset:name: xsumtype: xsumconfig: defaultsplit: testmetrics:- name: ROUGE-1type: rougevalue: 17.3492verified: true- name: ROUGE-2type: rougevalue: 2.5865verified: true- name: ROUGE-Ltype: rougevalue: 13.6099verified: true- name: ROUGE-LSUMtype: rougevalue: 13.98verified: true- name: losstype: lossvalue: 3.3301150798797607verified: true- name: gen_lentype: gen_lenvalue: 18.9854verified: true---[Google's T5](https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html)