docstr: See base class.
docstr_tok: ["See","base","class","."]
code: def get_labels(self, filename="labels.csv"):
      """See base class."""
      if self.labels == None:
          self.labels = list(
              pd.read_csv(
                  os.path.join(self.label_dir, filename), header=None
              )[0]
              .astype("str")
              .values
          )
      return self.labels
  
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 5 for calling the TextProcessor obj's underlying member method code with example usage: obj.get_labels(filename) and returns: self