@@ -23,7 +23,7 @@ All tasks produce TFRecord files of `tensorflow.Example` protocol buffers.
2323To add a new problem, subclass
2424[ ` Problem ` ] ( https://github.com/tensorflow/tensor2tensor/tree/master/tensor2tensor/data_generators/problem.py )
2525and register it with ` @registry.register_problem ` . See
26- [ ` WMTEnDeTokens8k ` ] ( https://github.com/tensorflow/tensor2tensor/tree/master/tensor2tensor/data_generators/wmt .py )
26+ [ ` TranslateEndeWmt8k ` ] ( https://github.com/tensorflow/tensor2tensor/tree/master/tensor2tensor/data_generators/translate_ende .py )
2727for an example.
2828
2929` Problem ` s support data generation, training, and decoding.
@@ -37,7 +37,7 @@ for training/decoding, e.g. a vocabulary file.
3737A particularly easy way to implement ` Problem.generate_data ` for your dataset is
3838to create 2 Python generators, one for the training data and another for the
3939dev data, and pass them to ` generator_utils.generate_dataset_and_shuffle ` . See
40- [ ` WMTEnDeTokens8k .generate_data` ] ( https://github.com/tensorflow/tensor2tensor/tree/master/tensor2tensor/data_generators/wmt .py )
40+ [ ` TranslateEndeWmt8k .generate_data` ] ( https://github.com/tensorflow/tensor2tensor/tree/master/tensor2tensor/data_generators/translate_ende .py )
4141for an example of usage.
4242
4343The generators should yield dictionaries with string keys and values being lists
@@ -66,5 +66,5 @@ Some examples:
6666
6767* [ Algorithmic problems] ( https://github.com/tensorflow/tensor2tensor/tree/master/tensor2tensor/data_generators/algorithmic.py )
6868 and their [ unit tests] ( https://github.com/tensorflow/tensor2tensor/tree/master/tensor2tensor/data_generators/algorithmic_test.py )
69- * [ WMT problems] ( https://github.com/tensorflow/tensor2tensor/tree/master/tensor2tensor/data_generators/wmt .py )
69+ * [ WMT En-De problems] ( https://github.com/tensorflow/tensor2tensor/tree/master/tensor2tensor/data_generators/translate_ende .py )
7070 and their [ unit tests] ( https://github.com/tensorflow/tensor2tensor/tree/master/tensor2tensor/data_generators/wmt_test.py )
0 commit comments