code: def __init__(self):
      self.label2id = {self.PAD: 0, self.SUC: 1}
      self.id2label = {0: self.PAD, 1: self.SUC}
  
imports: import json
  import torch
  from torch.utils.data import Dataset
  from torch.nn.utils.rnn import pad_sequence
  import numpy
  import prettytable
  from tqdm import tqdm
  from transformers import AutoTokenizer
  import os
  from deepke.name_entity_re.standard.tools import *
  import requests
  from typing import List
  from .utils import convert_index_to_text
label_desc: Use image node_id 1 to create a new Vocabulary object from inherited base classes: object with example: obj = Vocabulary()