code: def __init__(self, data_dir, label_dir):
      self.data_dir = data_dir
      self.label_dir = label_dir
      self.labels = None
  
imports: import pandas
  import os
  import torch
  from pathlib import Path
  import pickle
  from torch.utils.data import TensorDataset, DataLoader, RandomSampler, SequentialSampler
  from torch.utils.data.distributed import DistributedSampler
  from transformers import WEIGHTS_NAME, BertConfig, BertForSequenceClassification, BertTokenizer, XLMConfig, XLMForSequenceClassification, XLMTokenizer, XLNetConfig, XLNetForSequenceClassification, XLNetTokenizer
label_desc: Use image node_id 1 to create a new NERTextProcessor object from inherited base classes: DataProcessor with example: obj = NERTextProcessor(data_dir, label_dir)