Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 59e4a82

Browse files
author
Lukasz Kaiser
committed
Bump version and link ASR notebook and tutorial.
PiperOrigin-RevId: 195755605
1 parent b748dbe commit 59e4a82

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

docs/cloud_tpu.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ See the official tutorial for [running Transformer
1818
on Cloud TPUs](https://cloud.google.com/tpu/docs/tutorials/transformer)
1919
for some examples and try out your own problems.
2020

21+
You can train an Automatic Speech Recognition (ASR) model with Transformer
22+
on TPU by using `transformer` as `model` with `transformer_librispeech_tpu` as
23+
`hparams_set` and `librispeech` as `problem`. See this [tutorial](tutorials/ast_with_transformer.md) for more details on training it and this
24+
[notebook](https://colab.research.google.com/github/tensorflow/tensor2tensor/blob/master/tensor2tensor/notebooks/asr_transformer.ipynb) to see how the resulting model transcribes your speech to text.
25+
2126
Image Transformer:
2227
* `imagetransformer` with `imagetransformer_base_tpu` (or
2328
`imagetransformer_tiny_tpu`)

docs/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@ accessible and [accelerate ML
1616
research](https://research.googleblog.com/2017/06/accelerating-deep-learning-research.html).
1717

1818

19-
## Basics
19+
## Introduction
2020

2121
* [Walkthrough](walkthrough.md): Install and run.
2222
* [IPython notebook](https://colab.research.google.com/github/tensorflow/tensor2tensor/blob/master/tensor2tensor/notebooks/hello_t2t.ipynb): Get a hands-on experience.
23+
* [Automatic Speech Recognition notebook](https://colab.research.google.com/github/tensorflow/tensor2tensor/blob/master/tensor2tensor/notebooks/asr_transformer.ipynb): Transcribe speech to text with a T2T model.
24+
25+
## Basics
26+
2327
* [Overview](overview.md): How all parts of T2T code are connected.
2428
* [New Problem](new_problem.md): Train T2T models on your data.
2529
* [New Model](new_model.md): Create your own T2T model.
@@ -29,6 +33,7 @@ research](https://research.googleblog.com/2017/06/accelerating-deep-learning-res
2933
* [Training on Google Cloud ML](cloud_mlengine.md)
3034
* [Training on Google Cloud TPUs](cloud_tpu.md)
3135
* [Distributed Training](distributed_training.md)
36+
# [Automatic Speech Recognition (ASR) with Transformer](tutorials/asr_with_transformer.md)
3237

3338
## Solving your task
3439

docs/tutorials/asr_with_transformer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# Automatic Speech Recognition (ASR) with Transformer
22

3+
Check out the [Automatic Speech Recognition notebook](https://colab.research.google.com/github/tensorflow/tensor2tensor/blob/master/tensor2tensor/notebooks/asr_transformer.ipynb) to see how the resulting model transcribes your speech to text.
4+
35
## Data set
46

57
This tutorial uses the publicly available
68
[Librispeech](http://www.openslr.org/12/) ASR corpus.
79

10+
811
## Generate the dataset
912

1013
To generate the dataset use `t2t-datagen`. You need to create environment

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name='tensor2tensor',
8-
version='1.6.1',
8+
version='1.6.2',
99
description='Tensor2Tensor',
1010
author='Google Inc.',
1111
author_email='no-reply@google.com',

0 commit comments

Comments
 (0)