code: def create_sample_one_label_one_text(
      raw_data, text_index, label_index, basket_id
  ):
      # text = " ".join(raw_data[text_index:])
      text = raw_data[text_index]
      label = raw_data[label_index]
  
      return [
          Sample(
              id=basket_id + "-0",
              clear_text={"text": text, "label": label},
          )
      ]
  
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 for calling a global function with example usage: create_sample_one_label_one_text(raw_data, text_index, label_index, basket_id) and returns: list