Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9239290

Browse files
amlankarjhseu
authored andcommitted
Update seq2seq tutorial (tensorflow#4532)
1 parent 0db279f commit 9239290

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • tensorflow/g3doc/tutorials/seq2seq

tensorflow/g3doc/tutorials/seq2seq/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ prepare it for training and train. It takes about 20GB of disk space,
2525
and a while to download and prepare (see [later](#lets-run-it) for details),
2626
so you can start and leave it running while reading this tutorial.
2727

28-
This tutorial references the following files from `models/rnn`.
28+
This tutorial references the following files.
2929

3030
File | What's in it?
3131
--- | ---
32-
`seq2seq.py` | Library for building sequence-to-sequence models.
33-
`translate/seq2seq_model.py` | Neural translation sequence-to-sequence model.
34-
`translate/data_utils.py` | Helper functions for preparing translation data.
35-
`translate/translate.py` | Binary that trains and runs the translation model.
32+
`python/ops/seq2seq.py` | Library for building sequence-to-sequence models.
33+
`models/rnn/translate/seq2seq_model.py` | Neural translation sequence-to-sequence model.
34+
`models/rnn/translate/data_utils.py` | Helper functions for preparing translation data.
35+
`models/rnn/translate/translate.py` | Binary that trains and runs the translation model.
3636

3737

3838
## Sequence-to-Sequence Basics
@@ -74,7 +74,7 @@ attention mechanism in the decoder looks like this.
7474
As you can see above, there are many different sequence-to-sequence
7575
models. Each of these models can use different RNN cells, but all
7676
of them accept encoder inputs and decoder inputs. This motivates
77-
the interfaces in the TensorFlow seq2seq library (`models/rnn/seq2seq.py`).
77+
the interfaces in the TensorFlow seq2seq library (`python/ops/seq2seq.py`).
7878
The basic RNN encoder-decoder sequence-to-sequence model works as follows.
7979

8080
```python
@@ -151,7 +151,7 @@ have similar interfaces, so we will not describe them in detail. We will use
151151
## Neural Translation Model
152152

153153
While the core of the sequence-to-sequence model is constructed by
154-
the functions in `models/rnn/seq2seq.py`, there are still a few tricks
154+
the functions in `python/ops/seq2seq.py`, there are still a few tricks
155155
that are worth mentioning that are used in our translation model in
156156
`models/rnn/translate/seq2seq_model.py`.
157157

0 commit comments

Comments
 (0)