class_docstr: Dataloader for the Jigsaw Multilingual Toxic Comment Classification.
  Source: https://www.kaggle.com/c/jigsaw-multilingual-toxic-comment-classification/
class_docstr_tok: ["Dataloader","for","the","Jigsaw","Multilingual","Toxic","Comment","Classification",".","Source",":","https",":","\/\/www.kaggle.com\/c\/jigsaw-multilingual-toxic-comment-classification\/"]
code: def __getitem__(self, index):
      meta = {}
      entry = self.data[index]
      text_id = entry["id"]
      if "translated" in entry:
          text = entry["translated"]
      elif "comment_text_en" in entry:
          text = entry["comment_text_en"]
      else:
          text = entry["comment_text"]
  
      target_dict = {
          label: 1 if entry[label] >= 0.5 else 0
          for label in self.classes
      }
      meta["target"] = torch.tensor(
          list(target_dict.values()), dtype=torch.int32
      )
      meta["text_id"] = text_id
  
      return text, meta
  
imports: import datasets
  import numpy
  import pandas
  import torch
  from torch.utils.data.dataset import Dataset
  from tqdm import tqdm
label_desc: Use image node_id 2 for calling the JigsawDataMultilingual obj's underlying member method code with example usage: obj.__getitem__(index) and returns: text,  meta