class_docstr: An object that contains one source text and the one or more samples that will be processed. This
  is needed for tasks like question answering where the source text can generate multiple input - label
  pairs.
docstr: :param id: A unique identifying id. Used for identification within FARM.
  :type id: str
  :param external_id: Used for identification outside of FARM. E.g. if another framework wants to pass along its own id with the results.
  :type external_id: str
  :param raw: Contains the various data needed to form a sample. It is ideally in human readable form.
  :type raw: dict
  :param samples: An optional list of Samples used to populate the basket at initialization.
  :type samples: Sample
docstr_tok: [":","param","id",":","A","unique","identifying","id",".","Used","for","identification","within","FARM",".",":","type","id",":","str",":","param","external_id",":","Used","for","identification","outside","of","FARM",".","E.g",".","if","another","framework","wants","to","pass","along","its","own","id","with","the","results",".",":","type","external_id",":","str",":","param","raw",":","Contains","the","various","data","needed","to","form","a","sample",".","It","is","ideally","in","human","readable","form",".",":","type","raw",":","dict",":","param","samples",":","An","optional","list","of","Samples","used","to","populate","the","basket","at","initialization",".",":","type","samples",":","Sample"]
code: def __init__(
      self, id_internal: str, raw: dict, id_external=None, samples=None
  ):
      """
      :param id: A unique identifying id. Used for identification within FARM.
      :type id: str
      :param external_id: Used for identification outside of FARM. E.g. if another framework wants to pass along its own id with the results.
      :type external_id: str
      :param raw: Contains the various data needed to form a sample. It is ideally in human readable form.
      :type raw: dict
      :param samples: An optional list of Samples used to populate the basket at initialization.
      :type samples: Sample
      """
      self.id_internal = id_internal
      self.id_external = id_external
      self.raw = raw
      self.samples = samples
  
file_path: FARM/farm/data_handler/samples.py
imports: from transformers.models.bert.tokenization_bert import whitespace_tokenize
  from farm.visual.ascii.images import SAMPLE
  import numpy
  import logging
label_desc: Use image node_id 1 to create a new SampleBasket object  with example: obj = SampleBasket(id_internal, raw, id_external, samples)