class_docstr: Billion Word Benchmark (lm1b); see http://www.statmt.org/lm-benchmark/.
class_docstr_tok: ["Billion","Word","Benchmark","(","lm1b",")",";","see","http",":","\/\/www.statmt.org\/lm-benchmark\/","."]
code: def init_spec(cls) -> lit_types.Spec:
      return {
          "split": lit_types.CategoryLabel(vocab=cls.AVAILABLE_SPLITS),
          "max_examples": lit_types.Integer(
              default=1000, min_val=0, max_val=10_000, required=False
          ),
      }
  
file_path: lit/lit_nlp/examples/datasets/lm.py
imports: import glob
  from typing import Optional
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  import tensorflow_datasets
label_desc: Use image node_id 2 for calling the BillionWordBenchmark obj's underlying member method code with example usage: obj.init_spec(cls) and returns: dict