Skip to content

models t5 base

github-actions[bot] edited this page Jun 16, 2023 · 25 revisions

t5-base

Overview

Description: T5 Base is a text-to-text transformer model that can be used for a variety of NLP tasks, such as machine translation, document summarization, question answering and classification tasks, such as sentiment analysis. It was developed by a team at Google and is pre-trained on the Colossal Clean Crawled Corpus. It is licensed under Apache 2.0 and you can start using the model by installing the T5 tokenizer and model and following the examples provided in the Colab Notebook created by its developers. Be mindful of bias, risks and limitations that may arise while using this model. > The above summary was generated using ChatGPT. Review the original-model-card to understand the data used to train the model, evaluation metrics, license, intended uses, limitations and bias before using the model. ### Inference samples Inference type|Python sample (Notebook)|CLI with YAML |--|--|--| Real time|translation-online-endpoint.ipynb|translation-online-endpoint.sh Batch |translation-batch-endpoint.ipynb| coming soon ### Finetuning samples Task|Use case|Dataset|Python sample (Notebook)|CLI with YAML |--|--|--|--|--| Summarization|News Summary|CNN DailyMail|news-summary.ipynb|news-summary.sh Translation|Translate English to Romanian|WMT16|translate-english-to-romanian.ipynb|translate-english-to-romanian.sh ### Model Evaluation Task| Use case| Dataset| Python sample (Notebook)| CLI with YAML |--|--|--|--|--| Translation | Translation | wmt16/ro-en | evaluate-model-translation.ipynb | evaluate-model-translation.yml ### Sample inputs and outputs (for real-time inference) #### Sample input json { "inputs": { "input_string": ["My name is John and I live in Seattle", "Berlin is the capital of Germany."] }, "parameters": { "task_type": "translation_en_to_fr" } } #### Sample output json [ { "0": "Mon nom est John et je vivais à Seattle." }, { "0": "Berlin est la capitale de l'Allemagne." } ]

Version: 6

Tags

Preview license : apache-2.0 task : translation

View in Studio: https://ml.azure.com/registries/azureml/models/t5-base/version/6

License: apache-2.0

Properties

SHA: 0db7e623bcaee2daf9b859a646637ea39bf016cd

datasets: c4

evaluation-min-sku-spec: 2|0|14|28

evaluation-recommended-sku: Standard_DS3_v2

finetune-min-sku-spec: 4|1|28|176

finetune-recommended-sku: Standard_NC24rs_v3

finetuning-tasks: summarization, translation

inference-min-sku-spec: 2|0|14|28

inference-recommended-sku: Standard_DS3_v2

languages: en, fr, ro, de

Clone this wiki locally