AI SeedbankHelp preserve open and free AI for humanity's future

← All models

google-t5_t5-small

google-t5 · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


language:

  • en
  • fr
  • ro
  • de
  • multilingual license: apache-2.0 tags:
  • summarization
  • translation datasets:
  • c4

Model Card for T5 Small

Table of Contents

  1. Model Details
  2. Uses
  3. Bias, Risks, and Limitations
  4. Training Details
  5. Evaluation
  6. Environmental Impact
  7. Citation
  8. Model Card Authors
  9. How To Get Started With the Model

Model Details

Model Description

The developers of the Text-To-Text Transfer Transformer (T5) write:

With T5, we propose reframing all NLP tasks into a unified text-to-text-format where the input and output are always text strings, in contrast to BERT-style models that can only output either a class label or a span of the input. Our text-to-text framework allows us to use the same model, loss function, and hyperparameters on any NLP task.

T5-Small is the checkpoint with 60 million parameters.

  • Developed by: Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J. Liu. See associated paper and GitHub repo
  • Model type: Language model
  • Language(s) (NLP): English, French, Romanian, German
  • License: Apache 2.0
  • Related Models: All T5 Checkpoints
  • Resources for more information:

Uses

Direct Use and Downstream Use

The developers write in a blog post that the model:

Our text-to-text framework allows us to use the same model, loss function, and hyperparameters on any NLP task, including machine translation, document summarization, question answering, and classification tasks (e.g., sentiment analysis). We can even apply T5 to regression tasks by training it to predict the string representation of a number instead of the number itself.

See the blog post and research paper for further details.

Out-of-Scope Use

More information needed.

Bias, Risks, and Limitations

More information needed.

Recommendations

More information needed.

Training Details

Training Data

The model is pre-trained on the Colossal Clean Crawled Corpus (C4), which was developed and released in the context of the same research paper as T5.

The model was pre-trained on a on a multi-task mixture of unsupervised (1.) and supervised tasks (2.). Thereby, the following datasets were being used for (1.) and (2.):

  1. Datasets used for Unsupervised denoising objective:
  1. Datasets used for Supervised text-to-text language modeling objective
  • Sentence acceptability judgment
    • CoLA Warstadt et al., 2018
  • Sentiment analysis
    • SST-2 Socher et al., 2013
  • Paraphrasing/sentence similarity
    • MRPC Dolan and Brockett, 2005
    • STS-B Ceret al., 2017
    • QQP Iyer et al., 2017
  • Natural language inference
    • MNLI Williams et al., 2017
    • QNLI Rajpurkar et al.,2016
    • RTE Dagan et al., 2005
    • CB De Marneff et al., 2019
  • Sentence completion
    • COPA Roemmele et al., 2011
  • Word sense disambiguation
    • WIC Pilehvar and Camacho-Collados, 2018
  • Question answering
    • MultiRC Khashabi et al., 2018
    • ReCoRD Zhang et al., 2018
    • BoolQ Clark et al., 2019

Training Procedure

In their abstract, the model developers write:

In this paper, we explore the landscape of transfer learning techniques for NLP by introducing a unified framework that converts every language problem into a text-to-text format. Our systematic study compares pre-training objectives, architectures, unlabeled datasets, transfer approaches, and other factors on dozens of language understanding tasks.

The framework introduced, the T5 framework, involves a training procedure that brings together the approaches studied in the paper. See the research paper for further details.

Evaluation

Testing Data, Factors & Metrics

The developers evaluated the model on 24 tasks, see the research paper for full details.

Results

For full results for T5-small, see the research paper, Table 14.

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: Google Cloud TPU Pods
  • Hours used: More information needed
  • Cloud Provider: GCP
  • Compute Region: More information needed
  • Carbon Emitted: More information needed

Citation

BibTeX:

@article{2020t5,
  author  = {Colin Raffel and Noam Shazeer and Adam Roberts and Katherine Lee and Sharan Narang and Michael Matena and Yanqi Zhou and Wei Li and Peter J. Liu},
  title   = {Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer},
  journal = {Journal of Machine Learning Research},
  year    = {2020},
  volume  = {21},
  number  = {140},
  pages   = {1-67},
  url     = {http://jmlr.org/papers/v21/20-074.html}
}

APA:

  • Raffel, C., Shazeer, N., Roberts, A., Lee, K., Narang, S., Matena, M., ... & Liu, P. J. (2020). Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21(140), 1-67.

Model Card Authors

This model card was written by the team at Hugging Face.

How to Get Started with the Model

Use the code below to get started with the model.

Click to expand

from transformers import T5Tokenizer, T5Model

tokenizer = T5Tokenizer.from_pretrained("t5-small")
model = T5Model.from_pretrained("t5-small")

input_ids = tokenizer(
    "Studies have been shown that owning a dog is good for you", return_tensors="pt"
).input_ids  # Batch size 1
decoder_input_ids = tokenizer("Studies show that", return_tensors="pt").input_ids  # Batch size 1

# forward pass
outputs = model(input_ids=input_ids, decoder_input_ids=decoder_input_ids)
last_hidden_states = outputs.last_hidden_state

See the Hugging Face T5 docs and a Colab Notebook created by the model developers for more examples.

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:2766779139fb5b3493e6441119f688bb76e95c87&dn=google-t5_t5-small

Open magnet in torrent client · infohash 2766779139fb5b3493e6441119f688bb76e95c87

Files & hashes

PathSizesha1sha256
README.md8.3 KB (8,473 B)ec7fe4d8539a6aa166b27598bd402329eedc43056559de584e57caf42cd2c77a23bb31d5bd28c5aa9995ee1d967b510acd88d410
config.json1.2 KB (1,206 B)378f74060b20f6a9a1ea41b03fc0504466206255530e25060e3a8d5f7b0fcf53bfea9f3601165161f3b1914676e98d97cf07bcf1
generation_config.json147 B (147 B)d52815623b46b7db1c4b957b5a83a8ad30b0146af5a1c7e2be8092018d8835128987edf0111637dd98e90599cc80310fef75d95a
model.safetensors230.8 MB (242,043,056 B)590e24fd50436c21f1ca257ebb896402a81e986fbd944e5f1b3ad9b70dd9d00010a517059e19265671076b8b0a4a58d9491842bc
pytorch_model.bin230.9 MB (242,065,649 B)848bc41a3af6bf65b638247b410217b964c81718dd8c1c79a54cce728b86bac6c7737800fc1ec009ada37028efff4861a4280ffc
rust_model.ot230.9 MB (242,133,508 B)0b5bc4bf2b6342fcecdc227991593120e7028a01636b17628823af7a43631a408e0253a5fe9ae39ea02a87ec8d3371ea613e5b16
spiece.model773.1 KB (791,656 B)4e28ff6ebdf584f5372d9de68867399142435d9ad60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
tokenizer.json1.3 MB (1,389,353 B)41911369be79611d82d152725113e66206bd7b79d2acde0d8d71dd30a711834b07781b9c89feaac33fd332f60507699282740066
tokenizer_config.json2.3 KB (2,324 B)4fd6c49c32ecf41886dba213d40030f063c72b07d1e7146101aa96282057f374aa9c3b260fba2109e5990edb1775d6efc70ffa3c

Cite this release

Canonical URL
https://aiseedbank.org/models/google-t5_t5-small/
Slug
google-t5_t5-small
Infohash
2766779139fb5b3493e6441119f688bb76e95c87
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: google-t5_t5-small.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorygoogle-t5/t5-small
Revision (pinned)df1b051c49625cf57a3d0d8d3863ed4d13564fe4
Fetched at2026-09-03T23:09:53Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-03T23:10:02Z

apache-2.0694.7 MB (728,435,372 bytes)transformerspytorchjaxrustonnxsafetensorst5text2text-generationsummarizationtranslationmultilingualtext-generation-inferenceendpoints_compatible5 languages (tf, en, fr …)paper: 1805.12471paper: 1708.00055paper: 1704.05426paper: 1606.05250paper: 1808.09121paper: 1810.12885paper: 1905.10044paper: 1910.09700