code: def handle_args():
      parser = argparse.ArgumentParser(
          description="Convert GGML models to GGUF"
      )
      parser.add_argument(
          "--input",
          "-i",
          type=Path,
          required=True,
          help="Input GGMLv3 filename",
      )
      parser.add_argument(
          "--output",
          "-o",
          type=Path,
          required=True,
          help="Output GGUF filename",
      )
      parser.add_argument("--name", help="Set model name")
      parser.add_argument("--desc", help="Set model description")
      parser.add_argument(
          "--gqa",
          type=int,
          default=1,
          help="grouped-query attention factor (use 8 for LLaMA2 70B)",
      )
      parser.add_argument(
          "--eps",
          default="5.0e-06",
          help="RMS norm eps: Use 1e-6 for LLaMA1 and OpenLLaMA, use 1e-5 for LLaMA2",
      )
      parser.add_argument(
          "--context-length",
          "-c",
          type=int,
          default=2048,
          help="Default max context length: LLaMA1 is typically 2048, LLaMA2 is typically 4096",
      )
      parser.add_argument(
          "--model-metadata-dir",
          "-m",
          type=Path,
          help="Load HuggingFace/.pth vocab and metadata from the specified directory",
      )
      parser.add_argument(
          "--vocab-dir",
          type=Path,
          help="directory containing tokenizer.model, if separate from model file - only meaningful with --model-metadata-dir",
      )
      parser.add_argument(
          "--vocabtype",
          choices=["spm", "bpe"],
          default="spm",
          help="vocab format - only meaningful with --model-metadata-dir and/or --vocab-dir (default: spm)",
      )
      return parser.parse_args()
  
imports: from __future__ import annotations
  import argparse
  import struct
  import sys
  from enum import IntEnum
  from pathlib import Path
  import numpy
  import os
  import gguf
label_desc: Use image node_id 2 for calling a global function with example usage: handle_args() and returns: parser