class_docstr: Base language module that has common helper functions used across GPT, BERT etc.
  
  Args:
      config (TransformerConfig): Input transformer config for the model
class_docstr_tok: ["Base","language","module","that","has","common","helper","functions","used","across","GPT",",","BERT","etc",".","Args",":","config","(","TransformerConfig",")",":","Input","transformer","config","for","the","model"]
code: def __init__(self, config: TransformerConfig) -> None:
      super().__init__(config=config)
  
file_path: megatron-lm/megatron/core/models/common/language_module/language_module.py
imports: import logging
  import torch
  from torch import Tensor
  from megatron.core import parallel_state, tensor_parallel
  from megatron.core.transformer.module import MegatronModule
  from megatron.core.transformer.transformer_config import TransformerConfig
label_desc: Use image node_id 1 to create a new LanguageModule object from inherited base classes: MegatronModule with example: obj = LanguageModule(config)