code: def __init__(
      self,
      num_groups: int = 4,
      input_channels: int = 3,
      num_blocks_per_group: int = 2,
      hidden_size: int = 256,
      vocab_size: int = 8192,
      freeze: int = True,
      initializer_range: float = 0.02,
      **kwargs,
  ):
      super().__init__(**kwargs)
      self.num_groups = num_groups
      self.input_channels = input_channels
      self.num_blocks_per_group = num_blocks_per_group
      self.hidden_size = hidden_size
      self.vocab_size = vocab_size
      self.freeze = freeze
      self.initializer_range = initializer_range
  
imports: import copy
  import os
  from typing import Any, Dict, Union
  from ...configuration_utils import PretrainedConfig
  from ...utils import logging
label_desc: Use image node_id 1 to create a new FlavaImageCodebookConfig object from inherited base classes: PretrainedConfig with example: obj = FlavaImageCodebookConfig(num_groups, input_channels, num_blocks_per_group, hidden_size, vocab_size, freeze, initializer_range)