code: def __init__(self, config, *args, **kwargs):
      # https://huggingface.co/transformers/model_doc/xlmroberta.html
      # roberta is with different tokenization of above default (bert)
      tokenizer_config = config.tokenizer_config
      self._tokenizer = AutoTokenizer.from_pretrained(
          tokenizer_config.type, **tokenizer_config.params
      )
  
      self._CLS_TOKEN = self._tokenizer.bos_token  # <s>
      self._SEP_TOKEN = self._tokenizer.sep_token  # </s>
      self._MASK_TOKEN = self._tokenizer.mask_token  # <mask>
      self._PAD_TOKEN_ID = self._tokenizer.pad_token_id  # 1
  
      self._max_seq_length = config.max_seq_length
      self._probability = getattr(config, "mask_probability", 0.15)
  
imports: import copy
  import random
  from typing import Any, Dict, List, Optional, Tuple, Union
  import torch
  from mmf.common.registry import registry
  from mmf.common.sample import Sample, SampleList
  from mmf.datasets.processors.processors import BaseProcessor
label_desc: Use image node_id 1 to create a new MaskedRobertaTokenizer object from inherited base classes: MaskedTokenProcessor with example: obj = MaskedRobertaTokenizer(config)