class_docstr: HANS NLI challenge set (https://arxiv.org/abs/1902.01007); 30k examples.
class_docstr_tok: ["HANS","NLI","challenge","set","(","https",":","\/\/arxiv.org\/abs\/1902.01007",")",";","30k","examples","."]
code: def spec(self) -> lit_types.Spec:
      return {
          "premise": lit_types.TextSegment(),
          "hypothesis": lit_types.TextSegment(),
          # 'label2' for 2-way NLI labels
          "label2": lit_types.CategoryLabel(vocab=self.LABELS),
          "heuristic": lit_types.CategoryLabel(),
          "template": lit_types.CategoryLabel(),
      }
  
imports: from typing import Optional
  from absl import logging
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  import pandas
  import tensorflow_datasets
label_desc: Use image node_id 2 for calling the HansNLIData obj's underlying member method code with example usage: obj.spec() and returns: dict