code: def add_arguments(parser):
      group = parser.add_argument_group(title="Llama-2 HF loader.")
  
      group.add_argument(
          "--true-vocab-size",
          type=int,
          default=None,
          help="original size of vocab, if specified will trim padding from embedding table.",
      )
      group.add_argument(
          "--vocab-file",
          type=str,
          default=None,
          help="Path to the vocab file. If specified will use this to get vocab size and "
          "trim padding from the embedding table.",
      )
      group.add_argument(
          "--tokenizer-model",
          required=True,
          help="Sentencepiece tokenizer model.",
      )
      group.add_argument(
          "--megatron-path",
          type=str,
          default=None,
          help="Base directory of deepspeed repository",
      )
  
file_path: megatron-lm/tools/checkpoint/loader_llama2_hf.py
imports: import json
  import os
  import sys
  import torch
  import transformers
  from tqdm import tqdm
  import types
label_desc: Use image node_id 1 for calling a global function with example usage: add_arguments(parser) without return types