class_docstr: Squad-like data along with soft labels (logits).
  Will return tuples of (
  doc, question, answer, answer_start, has_answer,
  start_logits, end_logits, has_answer_logits, pad_mask, segment_labels
  )
class_docstr_tok: ["Squad-like","data","along","with","soft","labels","(","logits",")",".","Will","return","tuples","of","(","doc",",","question",",","answer",",","answer_start",",","has_answer",",","start_logits",",","end_logits",",","has_answer_logits",",","pad_mask",",","segment_labels",")"]
code: def __init__(self, **kwargs):
      kwargs["schema"] = {
          "id": int,
          "doc": JSONString,
          "question": JSONString,
          "answers": List[str],
          "answer_starts": List[int],
          "has_answer": JSONString,
          "start_logits": List[float],
          "end_logits": List[float],
          "has_answer_logits": List[float],
          "pad_mask": List[int],
          "segment_labels": List[int],
      }
      super().__init__(**kwargs)
  
imports: import json
  import math
  from random import choice
  from typing import List, Optional
  from pytext.data.sources.data_source import DataSource, generator_property, JSONString, SafeFileWrapper
  from pytext.data.sources.tsv import TSV
  from pytext.utils.file_io import PathManager
  from pytext.utils.path import get_absolute_path
label_desc: Use image node_id 1 to create a new SquadDataSourceForKD object from inherited base classes: SquadDataSource with example: obj = SquadDataSourceForKD()