code: def _init_text_embeddings(self, attr="text"):
      self.text_embeddings_out_dim = self.bert_config.hidden_size
      self.text_embedding = nn.MultiheadAttention(
          **self.config.text_embeddings[0]
      )
  
imports: import torch
  from mmf.common.registry import registry
  from mmf.models.pythia import Pythia
  from mmf.modules.embeddings import ProjectionEmbedding
  from mmf.utils.transform import transform_to_batch_sequence
  from torch import nn
label_desc: Use image node_id 6 for calling the MMFBert obj's underlying member method code with example usage: obj._init_text_embeddings(attr) without return types