code: def __init__(self, data_processor, mode="train") -> None:
      self.data_processor = data_processor
      self.data_dict = data_processor.load_from_file(mode=mode)
      self.complet_data = data_processor.process(self.data_dict)
      self.mode = mode
  
file_path: DeepKE/src/deepke/name_entity_re/few_shot/module/datasets.py
imports: import torch
  from tqdm import tqdm
  import numpy
  from itertools import chain
  from torch.utils.data import Dataset, DataLoader
  from torch.nn.utils.rnn import pad_sequence
  from transformers import BartTokenizer, BertTokenizer
  import logging
label_desc: Use image node_id 1 to create a new ConllNERDataset object from inherited base classes: Dataset with example: obj = ConllNERDataset(data_processor, mode)