ybelkada / t5-11b-sharded

huggingface.co
Total runs: 6
24-hour runs: 0
7-day runs: 0
30-day runs: -5
Model's Last Updated: November 21 2024
translation

Introduction of t5-11b-sharded

Model Details of t5-11b-sharded

Model Card for T5 11B - fp16

model image

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.

Runs of ybelkada t5-11b-sharded on huggingface.co

6
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-5
30-day runs

More Information About t5-11b-sharded huggingface.co Model

More t5-11b-sharded license Visit here:

https://choosealicense.com/licenses/apache-2.0

t5-11b-sharded huggingface.co

t5-11b-sharded huggingface.co is an AI model on huggingface.co that provides t5-11b-sharded's model effect (), which can be used instantly with this ybelkada t5-11b-sharded model. huggingface.co supports a free trial of the t5-11b-sharded model, and also provides paid use of the t5-11b-sharded. Support call t5-11b-sharded model through api, including Node.js, Python, http.

t5-11b-sharded huggingface.co Url

https://huggingface.co/ybelkada/t5-11b-sharded

ybelkada t5-11b-sharded online free

t5-11b-sharded huggingface.co is an online trial and call api platform, which integrates t5-11b-sharded's modeling effects, including api services, and provides a free online trial of t5-11b-sharded, you can try t5-11b-sharded online for free by clicking the link below.

ybelkada t5-11b-sharded online free url in huggingface.co:

https://huggingface.co/ybelkada/t5-11b-sharded

t5-11b-sharded install

t5-11b-sharded is an open source model from GitHub that offers a free installation service, and any user can find t5-11b-sharded on GitHub to install. At the same time, huggingface.co provides the effect of t5-11b-sharded install, users can directly use t5-11b-sharded installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

t5-11b-sharded install url in huggingface.co:

https://huggingface.co/ybelkada/t5-11b-sharded

Url of t5-11b-sharded

t5-11b-sharded huggingface.co Url

Provider of t5-11b-sharded huggingface.co

ybelkada
ORGANIZATIONS

Other API from ybelkada

huggingface.co

Total runs: 1
Run Growth: 1
Growth Rate: 100.00%
Updated:December 21 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 29 2023