class_docstr: WMT '17 machine-translation data, via TFDS.
class_docstr_tok: ["WMT","'17","machine-translation","data",",","via","TFDS","."]
code: def init_spec(cls) -> lit_types.Spec:
      return {
          "version": lit_types.String(default="de-en"),
          "reverse": lit_types.Boolean(default=False),
          "split": lit_types.String(default="validation"),
          "max_examples": lit_types.Integer(
              default=1000, min_val=0, max_val=10_000, required=False
          ),
      }
  
file_path: lit/lit_nlp/examples/datasets/mt.py
imports: from collections.abc import Mapping
  from typing import Any, Optional
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  from lit_nlp.lib import file_cache
  import pandas
  import six
  import tensorflow_datasets
label_desc: Use image node_id 3 for calling the WMT17Data obj's underlying member method code with example usage: obj.init_spec(cls) and returns: dict