class_docstr: The SuperGLUE benchmark.
class_docstr_tok: ["The","SuperGLUE","benchmark","."]
code: def _info(self):
      features = {
          feature: tfds.features.Text()
          for feature in self.builder_config.features
      }
      if self.builder_config.name.startswith("wsc"):
          features["span1_index"] = tf.int32
          features["span2_index"] = tf.int32
      if self.builder_config.name == "wic":
          features["start1"] = tf.int32
          features["start2"] = tf.int32
          features["end1"] = tf.int32
          features["end2"] = tf.int32
      if self.builder_config.name == "multirc":
          features["idx"] = tfds.features.FeaturesDict(
              {
                  "paragraph": np.int32,
                  "question": np.int32,
                  "answer": np.int32,
              }
          )
      elif self.builder_config.name == "record":
          features["idx"] = tfds.features.FeaturesDict(
              {
                  "passage": np.int32,
                  "query": np.int32,
              }
          )
      else:
          features["idx"] = tf.int32
  
      if self.builder_config.name == "record":
          # Entities are the set of possible choices for the placeholder.
          features["entities"] = tfds.features.Sequence(
              tfds.features.Text()
          )
          # Answers are the subset of entities that are correct.
          features["answers"] = tfds.features.Sequence(
              tfds.features.Text()
          )
      else:
          features["label"] = tfds.features.ClassLabel(
              names=self.builder_config.label_classes
          )
  
      return tfds.core.DatasetInfo(
          builder=self,
          description=_GLUE_DESCRIPTION,
          features=tfds.features.FeaturesDict(features),
          homepage=self.builder_config.url,
          citation=self.builder_config.citation
          + "\n"
          + _SUPER_GLUE_CITATION,
      )
  
file_path: datasets/tensorflow_datasets/text/super_glue.py
imports: from __future__ import annotations
  import json
  import os
  from etils import epath
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling the SuperGlue obj's underlying member method code with example usage: obj._info() and returns: tfds