code: def __init__(self):
      self.index2label = {}
      self.label2index = {}
      self.vocab_size = 0
  
imports: import logging
  from os.path import join
  import pytorch_lightning
  from pytorch_lightning.loggers import WandbLogger
  from torch.optim import AdamW
  import torch.nn
  import torch
  from torchmetrics import F1
  from torch.utils.data import DataLoader, Dataset
  from transformers import AutoTokenizer, AutoModel
label_desc: Use image node_id 1 to create a new LabelEncoder object  with example: obj = LabelEncoder()