SAVRN
Search Contact SAVRN

Open-weight model · Translation

t5-11b

by T5 community google-t5/t5-11b

The developers of the Text-To-Text Transfer Transformer (T5) write: T5-11B is the checkpoint with 11 billion parameters. The developers write in a blog post that the model: See the blog post and research paper for further details.

Parameters
Context
Weights90.5 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads27.9k

Model Card

By T5 community, published under apache-2.0, revision 90f37703b333.

The developers of the Text-To-Text Transfer Transformer (T5) write: T5-11B is the checkpoint with 11 billion parameters. The developers write in a blog post that the model: See the blog post and research paper for further details. 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: 2. Datasets used for Supervised text-to-text language modeling objective - CoLA Warstadt et…

Read T5 community's full model card

Model Card for T5 11B

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-11B is the checkpoint with 11 billion parameters.

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

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-11B, 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

Disclaimer

Before transformers v3.5.0, due do its immense size, t5-11b required some special treatment. If you're using transformers <= v3.4.0, t5-11b should be loaded with flag use_cdn set to False as follows:

t5 = transformers.T5ForConditionalGeneration.from_pretrained('t5-11b', use_cdn = False)

Secondly, a single GPU will most likely not have enough memory to even load the model into memory as the weights alone amount to over 40 GB. - Model parallelism has to be used here to overcome this problem as is explained in this PR. - DeepSpeed's ZeRO-Offload is another approach as explained in this post.

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

Configuration

Architecture
T5WithLMHeadModel
Vocabulary size
32,128
Model type
t5

Identity and Version

Repository
google-t5/t5-11b
Publisher
T5 community
Task
Translation
Modality
Text
Library
transformers
Parameters
Not stated by the source
Languages
en, fr, ro, de
Revision
90f37703b3334dfe9d2b009bfcbfbf1ac9d28ea3
First published
2022-03-02
Last updated
2023-01-02

Files and Weights

7 files, 90.5 GB in total. The weights are 2 files totalling 90.5 GB in bin, h5.

Weights2 files · 90.5 GB
Configuration1 file · 1.2 KB
Tokenizer2 files · 2.2 MB
Documentation1 file · 8.6 KB
Repository1 file · 345 B
Every file
FileTypeSizeSHA-256
pytorch_model.binWeights45.2 GB 5fdc64177b14
tf_model.h5Weights45.2 GB 99c986dfa539
config.jsonConfiguration1.2 KB
README.mdDocumentation8.6 KB
.gitattributesRepository345 B
spiece.modelTokenizer791.7 KB
tokenizer.jsonTokenizer1.4 MB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
90.5 GB
Download from T5 community

Released by T5 community through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published90.5 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About t5-11b

Can I use t5-11b commercially?

Yes. t5-11b is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

source languages: nl; target languages: en; OPUS readme: nl-en; dataset: opus; model: transformer-align; pre-processing: normalization + SentencePiece.

Open weights apache-2.0 512 tokens transformers

Model · Translation

nllb-200-distilled-600M

AI at Meta

This is the model card of NLLB-200's distilled 600M variant. Here are the metrics for that particular checkpoint. - Information about training algorithms, parameters, fairness constraints or other applied approaches, and features. The exact training algorithm, data and the strategies to handle data imbalances for high and low resource languages that were used to train NLLB-200 is described in the paper. - Paper or other resource for more information NLLB Team et al, No Language Left Behind: Scaling Human-Centered Machine Translation, Arxiv, 2022 - Where to send questions or comments about the model: https://github.com/facebookresearch/fairseq/issues • Model performance measures: NLLB-200…

Open weights cc-by-nc-4.0 1,024 tokens transformers

source languages: en; target languages: ru; OPUS readme: en-ru; dataset: opus; model: transformer-align; pre-processing: normalization + SentencePiece.

Open weights apache-2.0 512 tokens transformers

This model can be used for translation and text-to-text generation. CONTENT WARNING: Readers should be aware this section contains content that is disturbing, offensive, and can propagate historical and current stereotypes. Significant research has explored bias and fairness issues with language models (see, e.g., Sheng et al. (2021) and Bender et al. (2021)). Further details about the dataset for this model can be found in the OPUS readme: en-de

Open weights cc-by-4.0 512 tokens transformers

hfname: kor-eng - sourcelanguages: kor - targetlanguages: eng - opusreadmeurl: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/kor-eng/README.md - originalrepo: Tatoeba-Challenge - srcconstituents: {'korHani', 'korHang', 'korLatn', 'kor'} - tgtconstituents: {'eng'} - srcmultilingual: False - tgtmultilingual: False - urlmodel: https://object.pouta.csc.fi/Tatoeba-MT-models/kor-eng/opus-2020-06-17.zip - urltestset: https://object.pouta.csc.fi/Tatoeba-MT-models/kor-eng/opus-2020-06-17.test.txt - srcalpha3: kor - tgtalpha3: eng - shortpair: ko-en - chrF2score: 0.588 - brevitypenalty: 0.9590000000000001 - reflen: 17711.0 - srcname: Korean - tgtname: English - traindate…

Open weights apache-2.0 512 tokens transformers

source languages: de; target languages: en; OPUS readme: de-en; dataset: opus; model: transformer-align; pre-processing: normalization + SentencePiece.

Open weights apache-2.0 512 tokens transformers