code: def from_toxic(
      val_split: float = 0.1,
      batch_size: int = 4,
      **data_module_kwargs,
  ) -> TextClassificationData:
      """Downloads and loads the Jigsaw toxic comments data set."""
      download_data(
          "https://pl-flash-data.s3.amazonaws.com/jigsaw_toxic_comments.zip",
          "./data",
      )
      return TextClassificationData.from_csv(
          "comment_text",
          [
              "toxic",
              "severe_toxic",
              "obscene",
              "threat",
              "insult",
              "identity_hate",
          ],
          train_file="data/jigsaw_toxic_comments/train.csv",
          val_split=val_split,
          batch_size=batch_size,
          **data_module_kwargs,
      )
  
imports: from flash.core.data.utils import download_data
  from flash.core.utilities.flash_cli import FlashCLI
  from flash.text import TextClassificationData, TextClassifier
label_desc: Use image node_id 2 for calling a global function with example usage: from_toxic(val_split, batch_size) and returns: TextClassificationData