code: def update_registry_for_model(self, config):
      registry.register(
          self.dataset_name + "_text_vocab_size",
          self.dataset.text_processor.get_vocab_size(),
      )
      registry.register(
          self.dataset_name + "_num_final_outputs",
          self.dataset.answer_processor.get_vocab_size(),
      )
  
file_path: mmf/mmf/datasets/builders/clevr/builder.py
imports: import json
  import logging
  import math
  import os
  import zipfile
  from collections import Counter
  from mmf.common.constants import CLEVR_DOWNLOAD_URL
  from mmf.common.registry import registry
  from mmf.datasets.base_dataset_builder import BaseDatasetBuilder
  from mmf.datasets.builders.clevr.dataset import CLEVRDataset
  from mmf.utils.download import download
  from mmf.utils.general import get_mmf_root
label_desc: Use image node_id 5 for calling the CLEVRBuilder obj's underlying member method code with example usage: obj.update_registry_for_model(config) without return types