docstr: Convert data dict which contains essential information to SMSample.
  
  :param dict data: contains 'sentence1', 'sentence2', 'y' keys.
  :return:
docstr_tok: ["Convert","data","dict","which","contains","essential","information","to","SMSample",".",":","param","dict","data",":","contains","'sentence1","'",",","'sentence2","'",",","'","y","'","keys",".",":","return",":"]
code: def load(self, data):
      """
      Convert data dict which contains essential information to SMSample.
  
      :param dict data: contains 'sentence1', 'sentence2', 'y' keys.
      :return:
  
      """
      self.x = DPCnTextField(data["words"])
      self.y = ListField(data["labels"])
      self.pos = ListField(data["pos"])
      self.heads = ListField(data["heads"])
  
      self.col0 = ListField(data["0"])
      self.col2 = ListField(data["2"])
      self.col4 = ListField(data["4"])
      self.col5 = ListField(data["5"])
      self.col8 = ListField(data["8"])
  
imports: from .cnsample import CnSample
  from ..field import ListField, Field
  from ....common.settings import ORIGIN, TASK_MASK, MODIFIED_MASK
label_desc: Use image node_id 9 for calling the DPCnSample obj's underlying member method code with example usage: obj.load(data) without return types