class_docstr: Base class for text encoder
class_docstr_tok: ["Base","class","for","text","encoder"]
docstr: Add model specific arguments
docstr_tok: ["Add","model","specific","arguments"]
code: def add_arguments(
      cls, parser: argparse.ArgumentParser
  ) -> argparse.ArgumentParser:
      """Add model specific arguments"""
      group = parser.add_argument_group(title=cls.__name__)
  
      group.add_argument(
          "--model.text.name",
          type=str,
          default=None,
          help="Name of the text encoder",
      )
  
      return parser
  
file_path: ml-cvnets/cvnets/text_encoders/base_text_encoder.py
imports: import argparse
  from typing import Any, Dict, Optional
  import torch
  from torch import Tensor, nn
  from cvnets import parameter_list
  from cvnets.layers import norm_layers_tuple
  from cvnets.misc.init_utils import initialize_weights
  from utils import logger
  from utils.ddp_utils import is_master
label_desc: Use image node_id 2 for calling the BaseTextEncoder obj's underlying member method code with example usage: obj.add_arguments(cls, parser) and returns: parser