1f489b2d6a7968e6a8a20ae3857a66f8939b5850,tensorflow_datasets/text/lm1b.py,Lm1b,Lm1b_1,#,94

Before Change



class Lm1b(tfds.core.GeneratorBasedBuilder):
  1 Billion Word Language Model Benchmark dataset.
  BUILDER_CONFIGS = [
      Lm1bConfig(
          name="plain_text",
          description="Plain text",
      ),
      Lm1bConfig(
          name="bytes",
          description=("Uses byte-level text encoding with "
                       "`tfds.deprecated.text.ByteTextEncoder`"),
          text_encoder_config=tfds.deprecated.text.TextEncoderConfig(
              encoder=tfds.deprecated.text.ByteTextEncoder()),
      ),
      Lm1bConfig(
          name="subwords8k",
          description=("Uses `tfds.deprecated.text.SubwordTextEncoder` with 8k "
                       "vocab size"),
          text_encoder_config=tfds.deprecated.text.TextEncoderConfig(
              encoder_cls=tfds.deprecated.text.SubwordTextEncoder,
              vocab_size=2**13),
      ),
      Lm1bConfig(
          name="subwords32k",
          description=("Uses `tfds.deprecated.text.SubwordTextEncoder` with "
                       "32k vocab size"),
          text_encoder_config=tfds.deprecated.text.TextEncoderConfig(
              encoder_cls=tfds.deprecated.text.SubwordTextEncoder,
              vocab_size=2**15),
      ),
  ]

  def _info(self):
    return tfds.core.DatasetInfo(
        builder=self,

After Change


class Lm1b(tfds.core.GeneratorBasedBuilder):
  1 Billion Word Language Model Benchmark dataset.

  VERSION = tfds.core.Version("1.1.0")

  def _info(self):
    return tfds.core.DatasetInfo(
        builder=self,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 17

Instances


Project Name: tensorflow/datasets
Commit Name: 1f489b2d6a7968e6a8a20ae3857a66f8939b5850
Time: 2020-11-05
Author: epot@google.com
File Name: tensorflow_datasets/text/lm1b.py
Class Name: Lm1b
Method Name: Lm1b_1


Project Name: tensorflow/datasets
Commit Name: 1f489b2d6a7968e6a8a20ae3857a66f8939b5850
Time: 2020-11-05
Author: epot@google.com
File Name: tensorflow_datasets/text/lm1b.py
Class Name: Lm1b
Method Name: Lm1b_1


Project Name: tensorflow/datasets
Commit Name: 2e30a883054607ae446401eea7e30b26064f33c4
Time: 2020-08-03
Author: epot@google.com
File Name: tensorflow_datasets/text/imdb.py
Class Name: IMDBReviews
Method Name: IMDBReviews_1


Project Name: tensorflow/datasets
Commit Name: 1f489b2d6a7968e6a8a20ae3857a66f8939b5850
Time: 2020-11-05
Author: epot@google.com
File Name: tensorflow_datasets/text/yelp_polarity.py
Class Name: YelpPolarityReviews
Method Name: YelpPolarityReviews_1


Project Name: tensorflow/datasets
Commit Name: 2e30a883054607ae446401eea7e30b26064f33c4
Time: 2020-08-03
Author: epot@google.com
File Name: tensorflow_datasets/text/yelp_polarity.py
Class Name: YelpPolarityReviews
Method Name: YelpPolarityReviews_1


Project Name: tensorflow/datasets
Commit Name: 2e30a883054607ae446401eea7e30b26064f33c4
Time: 2020-08-03
Author: epot@google.com
File Name: tensorflow_datasets/text/lm1b.py
Class Name: Lm1b
Method Name: Lm1b_1