-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
38 changed files
with
357 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@import url("theme.css"); | ||
|
||
.wy-nav-content { | ||
max-width: 1290px; | ||
} | ||
|
||
.rst-content table.docutils { | ||
width: 100%; | ||
} | ||
|
||
.rst-content table.docutils td { | ||
vertical-align: top; | ||
padding: 0; | ||
} | ||
|
||
.rst-content table.docutils td p { | ||
padding: 8px; | ||
} | ||
|
||
.rst-content div[class^=highlight] { | ||
border: 0; | ||
margin: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{{ fullname | escape | underline}} | ||
|
||
.. currentmodule:: {{ module }} | ||
|
||
.. autoclass:: {{ objname }} | ||
:exclude-members: | ||
|
||
{% block methods %} | ||
|
||
.. automethod:: __call__ | ||
|
||
{% if methods %} | ||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
{% for item in methods %} | ||
{%- if item not in inherited_members and item not in annotations and not item in ['__init__'] %} | ||
~{{ name }}.{{ item }} | ||
{%- endif %} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
API Reference | ||
============= | ||
|
||
Binaries | ||
-------- | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
t5x.train | ||
t5x.infer | ||
t5x.eval | ||
t5x.main | ||
|
||
Training | ||
--------- | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
t5x.trainer | ||
t5x.optimizers | ||
t5x.interactive_model | ||
t5x.train_state | ||
t5x.state_utils | ||
t5x.losses | ||
t5x.metrics | ||
t5x.utils | ||
t5x.adafactor | ||
|
||
Inference | ||
--------- | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
t5x.decoding | ||
|
||
Models | ||
------ | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
t5x.models | ||
|
||
Checkpointing | ||
------------- | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
t5x.checkpoints | ||
t5x.checkpoint_utils | ||
t5x.checkpoint_importer | ||
|
||
|
||
Paritioning | ||
----------- | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
t5x.partitioning | ||
|
||
Config | ||
------ | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
t5x.config_utils | ||
t5x.gin_utils | ||
|
||
Utils | ||
----- | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
t5x.test_utils | ||
t5x.binary_search | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.adafactor package | ||
======================== | ||
|
||
.. currentmodule:: t5x.adafactor | ||
|
||
.. automodule:: t5x.adafactor | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.binary_search package | ||
======================== | ||
|
||
.. currentmodule:: t5x.binary_search | ||
|
||
.. automodule:: t5x.binary_search | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.checkpoint_importer package | ||
======================== | ||
|
||
.. currentmodule:: t5x.checkpoint_importer | ||
|
||
.. automodule:: t5x.checkpoint_importer | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.checkpoint_utils package | ||
======================== | ||
|
||
.. currentmodule:: t5x.checkpoint_utils | ||
|
||
.. automodule:: t5x.checkpoint_utils | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.checkpoints package | ||
======================== | ||
|
||
.. currentmodule:: t5x.checkpoints | ||
|
||
.. automodule:: t5x.checkpoints | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.config_utils package | ||
======================== | ||
|
||
.. currentmodule:: t5x.config_utils | ||
|
||
.. automodule:: t5x.config_utils | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.decoding package | ||
======================== | ||
|
||
.. currentmodule:: t5x.decoding | ||
|
||
.. automodule:: t5x.decoding | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.eval binary | ||
======================== | ||
|
||
.. currentmodule:: t5x.eval | ||
|
||
.. automodule:: t5x.eval | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.gin_utils package | ||
======================== | ||
|
||
.. currentmodule:: t5x.gin_utils | ||
|
||
.. automodule:: t5x.gin_utils | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.infer binary | ||
======================== | ||
|
||
.. currentmodule:: t5x.infer | ||
|
||
.. automodule:: t5x.infer | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.interactive_model package | ||
======================== | ||
|
||
.. currentmodule:: t5x.interactive_model | ||
|
||
.. automodule:: t5x.interactive_model | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.losses package | ||
======================== | ||
|
||
.. currentmodule:: t5x.losses | ||
|
||
.. automodule:: t5x.losses | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.main binary | ||
======================== | ||
|
||
.. currentmodule:: t5x.main | ||
|
||
.. automodule:: t5x.main | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.metrics package | ||
======================== | ||
|
||
.. currentmodule:: t5x.metrics | ||
|
||
.. automodule:: t5x.metrics | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.models package | ||
======================== | ||
|
||
.. currentmodule:: t5x.models | ||
|
||
.. automodule:: t5x.models | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.optimizers package | ||
======================== | ||
|
||
.. currentmodule:: t5x.optimizers | ||
|
||
.. automodule:: t5x.optimizers | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.partitioning package | ||
======================== | ||
|
||
.. currentmodule:: t5x.partitioning | ||
|
||
.. automodule:: t5x.partitioning | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.state_utils package | ||
======================== | ||
|
||
.. currentmodule:: t5x.state_utils | ||
|
||
.. automodule:: t5x.state_utils | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.test_utils package | ||
======================== | ||
|
||
.. currentmodule:: t5x.test_utils | ||
|
||
.. automodule:: t5x.test_utils | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.train binary | ||
======================== | ||
|
||
.. currentmodule:: t5x.train | ||
|
||
.. automodule:: t5x.train | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.train_state package | ||
======================== | ||
|
||
.. currentmodule:: t5x.train_state | ||
|
||
.. automodule:: t5x.train_state | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.trainer package | ||
======================== | ||
|
||
.. currentmodule:: t5x.trainer | ||
|
||
.. automodule:: t5x.trainer | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
t5x.utils package | ||
======================== | ||
|
||
.. currentmodule:: t5x.utils | ||
|
||
.. automodule:: t5x.utils | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
****************************** | ||
T5X | ||
****************************** | ||
|
||
|
||
T5X is a modular, composable, research-friendly framework for high-performance, | ||
configurable, self-service training, evaluation, and inference of sequence | ||
models (starting with language) at many scales. | ||
|
||
It is essentially a new and improved implementation of the | ||
`T5 codebase <https://github.com/google-research/text-to-text-transfer-transformer/blob/main/README.md>`__ | ||
(based on Mesh TensorFlow) in JAX and Flax. To learn more, see the | ||
`T5X Paper <https://arxiv.org/abs/2203.17189>`__. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Table of Contents | ||
|
||
Quick Start <overview> | ||
Tutorials <tutorials> | ||
Usage Guides <usage/index> | ||
Models <models> | ||
api_reference/index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
```{include} ../README.md | ||
``` |
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.