code: def __init__(self, vocab2idx: Dict[str, int]):
      self.vocab2idx = vocab2idx
      self.idx2vocab = dict([(v, k) for k, v in vocab2idx.items()])
  
file_path: Kashgari/kashgari/utils/multi_label.py
imports: from typing import List, Dict
  import numpy
  from kashgari.types import MultiLabelClassificationLabelVar
label_desc: Use image node_id 1 to create a new MultiLabelBinarizer object  with example: obj = MultiLabelBinarizer(vocab2idx)