code: def _labels(mode):
      """Return the list of label features appropriate for the mode."""
      if mode == "spans":
          return ["spans"]
      labels = [
          "toxicity",
          "severe_toxicity",
          "obscene",
          "threat",
          "insult",
          "identity_attack",
          "sexual_explicit",
      ]
      if mode in ["identity", "covert"]:
          labels += IDENTITY_LABELS
      if mode == "covert":
          labels += COVERT_LABELS
      if mode == "context":
          labels += ["contextual_toxicity"]
      return labels
  
file_path: datasets/tensorflow_datasets/text/civil_comments.py
imports: from __future__ import annotations
  import ast
  import csv
  import os
  from etils import epath
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling a global function with example usage: _labels(mode) and returns: labels, list