class_docstr: Classification of 295K Wikipedia talk page comments for types of toxicity.
  
  This version of the Wikipedia Toxicity Subtypes dataset provides access to the
  primary toxicity label annotated by crowd workers, with five additional
  toxicity subtype labels in the main config. The toxicity and toxicity subtype
  labels are binary values (0 or 1) indicating whether the majority of
  annotators assigned that attributes to the comment text.
  
  While the main config is entirely in English, the
  WikipediaToxicityMultilingual config provides validation and test splits with
  data in several non-English languages (tr, it, es, pt, ru, fr). This config
  provides access only to the primary toxicity label for each comment.
class_docstr_tok: ["Classification","of","295K","Wikipedia","talk","page","comments","for","types","of","toxicity",".","This","version","of","the","Wikipedia","Toxicity","Subtypes","dataset","provides","access","to","the","primary","toxicity","label","annotated","by","crowd","workers",",","with","five","additional","toxicity","subtype","labels","in","the","main","config",".","The","toxicity","and","toxicity","subtype","labels","are","binary","values","(","0","or","1",")","indicating","whether","the","majority","of","annotators","assigned","that","attributes","to","the","comment","text",".","While","the","main","config","is","entirely","in","English",",","the","WikipediaToxicityMultilingual","config","provides","validation","and","test","splits","with","data","in","several","non-English","languages","(","tr",",","it",",","es",",","pt",",","ru",",","fr",")",".","This","config","provides","access","only","to","the","primary","toxicity","label","for","each","comment","."]
code: def _info(self):
      description = _COMMON_DESCRIPTION
      homepage = (
          _MULTILINGUAL_HOMEPAGE
          if self.builder_config.multilingual
          else _SUBTYPES_HOMEPAGE
      )
  
      features = {
          "text": tfds.features.Text(),
          "id": tfds.features.Text(),
          "language": tfds.features.Text(),
      }
      labels = ["toxicity"]
      if not self.builder_config.multilingual:
          labels += TOXICITY_SUBTYPES
  
      for label in labels:
          features[label] = tf.float32
  
      return tfds.core.DatasetInfo(
          builder=self,
          description=description,
          features=tfds.features.FeaturesDict(features),
          supervised_keys=("text", "toxicity"),
          homepage=homepage,
          citation=_CITATION,
      )
  
file_path: datasets/tensorflow_datasets/text/wikipedia_toxicity_subtypes.py
imports: import csv
  import os
  from etils import epath
  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 WikipediaToxicitySubtypes obj's underlying member method code with example usage: obj._info() and returns: tfds