text-to-text-transfer-transformer

(★ 6,544)

Code for the paper "Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer"

File Explorer

  • CONTRIBUTING.md
  • LICENSE
  • pytest.ini
  • README.md
  • released_checkpoints.md
  • setup.py

# Installation Guide

python

Setup Steps

pip install t5[gcp]

Install the T5 package with GCP dependencies.

pip install tfds-nightly[c4]

Install tfds-nightly for C4 dataset processing.

Key Commands

pip install t5[gcp]

Install the T5 library and related GCP features.

python -m tensorflow_datasets.scripts.download_and_prepare --datasets=c4/en --data_dir=gs://$MY_BUCKET/tensorflow_datasets

Download and prepare datasets using TensorFlow Datasets.

GCS bucket and TPU environment setup are required for processing large-scale datasets.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

pip install

View Details ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

python

View Details ▼

Python language interpreter.

python

Start a REPL (interactive shell):

python {{path/to/file.py}}

Execute a specific Python file:

python -i {{path/to/file.py}}

Execute a specific Python file and start a REPL:

// repository documentation