class_docstr: Stanford Sentiment Treebank, binary version (SST-2).
  
  See https://www.tensorflow.org/datasets/catalog/glue#gluesst2.
  This data is reformatted to serve the language models.
class_docstr_tok: ["Stanford","Sentiment","Treebank",",","binary","version","(","SST-2",")",".","See","https",":","\/\/www.tensorflow.org\/datasets\/catalog\/glue","#","gluesst2",".","This","data","is","reformatted","to","serve","the","language","models","."]
code: def __init__(self, path_or_splitname: str, max_examples: int = -1):
      super().__init__(path_or_splitname, max_examples)
      self._examples = [
          utils.remap_dict(ex, {"sentence": "text"})
          for ex in self._examples
      ]
  
imports: from typing import Optional
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  from lit_nlp.lib import file_cache
  from lit_nlp.lib import utils
  import pandas
  import tensorflow_datasets
label_desc: Use image node_id 1 to create a new SST2DataForLM object from inherited base classes: SST2Data with example: obj = SST2DataForLM(path_or_splitname, max_examples)