From 598eace7707d77b7c5117a2235ac3c4924796ca2 Mon Sep 17 00:00:00 2001 From: Mark Daoust Date: Mon, 23 Mar 2020 20:51:54 -0700 Subject: [PATCH] Delete references to github.com/tensorflow/models/blob/master/tutorials The directory is not maintained, and is no longer being used for tensorflow.org. I am deleting it in https://github.com/tensorflow/models/pull/8276 PiperOrigin-RevId: 302583413 --- tensor2tensor/data_generators/ptb.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tensor2tensor/data_generators/ptb.py b/tensor2tensor/data_generators/ptb.py index e02aed4a2..7283ce23f 100644 --- a/tensor2tensor/data_generators/ptb.py +++ b/tensor2tensor/data_generators/ptb.py @@ -49,8 +49,6 @@ def _build_vocab(filename, vocab_path, vocab_size): """Reads a file to build a vocabulary of `vocab_size` most common words. The vocabulary is sorted by occurrence count and has one word per line. - Originally from: - https://github.com/tensorflow/models/blob/master/tutorials/rnn/ptb/reader.py Args: filename: file to read list of words from.