class_docstr: Adds adapters to the AlbertModel module.
class_docstr_tok: ["Adds","adapters","to","the","AlbertModel","module","."]
code: def init_adapters(self, model_config, adapters_config):
      super().init_adapters(model_config, adapters_config)
  
      # Set hook for parallel composition
      for _, layer in self.iter_layers():
          self._set_layer_hook_for_parallel(layer)
  
      self.embeddings.register_forward_hook(self.post_embedding_forward)
  
file_path: adapters/src/adapters/models/albert/mixin_albert.py
imports: from typing import Iterable, Tuple
  import torch.nn
  from ...composition import adjust_tensors_for_parallel_
  from ...methods.bottleneck import BottleneckLayer
  from ...methods.lora import LoRALinear
  from ...methods.prefix_tuning import PrefixTuningLayer
  from ...model_mixin import EmbeddingAdaptersMixin, InvertibleAdaptersMixin, ModelBaseAdaptersMixin
label_desc: Use image node_id 1 for calling the AlbertModelAdaptersMixin obj's underlying member method code with example usage: obj.init_adapters(model_config, adapters_config) without return types