code: def __init__(
      self,
      token2id: Dict = None,
      unk_token: str = "<UNK>",
      mask_token: str = "<MASK>",
      begin_seq_token: str = "<BEGIN>",
      end_seq_token: str = "<END>",
  ):
      super(SequenceVocabulary, self).__init__(
          token2id=token2id, add_unk=True, unk_token=unk_token
      )
  
      self._mask_token: str = mask_token
      self._begin_seq_token: str = begin_seq_token
      self._end_seq_token: str = end_seq_token
  
      self.mask_index: int = self.add_token(self._mask_token)
      self.begin_seq_index: int = self.add_token(self._begin_seq_token)
      self.end_seq_index: int = self.add_token(self._end_seq_token)
  
imports: from typing import Dict
label_desc: Use image node_id 1 to create a new SequenceVocabulary object from inherited base classes: Vocabulary with example: obj = SequenceVocabulary(token2id, unk_token, mask_token, begin_seq_token, end_seq_token)