code: def model_archiver_command_builder(
      model_name=None,
      version=None,
      model_file=None,
      serialized_file=None,
      handler=None,
      extra_files=None,
      runtime=None,
      archive_format=None,
      requirements_file=None,
      export_path=None,
      force=True,
  ):
      cmd = "torch-model-archiver"
  
      if model_name:
          cmd += " --model-name {0}".format(model_name)
  
      if version:
          cmd += " --version {0}".format(version)
  
      if model_file:
          cmd += " --model-file {0}".format(model_file)
  
      if serialized_file:
          cmd += " --serialized-file {0}".format(serialized_file)
  
      if handler:
          cmd += " --handler {0}".format(handler)
  
      if extra_files:
          cmd += " --extra-files {0}".format(extra_files)
  
      if runtime:
          cmd += " --runtime {0}".format(runtime)
  
      if archive_format:
          cmd += " --archive-format {0}".format(archive_format)
  
      if requirements_file:
          cmd += " --requirements-file {0}".format(requirements_file)
  
      if export_path:
          cmd += " --export-path {0}".format(export_path)
  
      if force:
          cmd += " --force"
  
      return cmd
  
file_path: serve/ts_scripts/marsgen.py
imports: import argparse
  import json
  import os
  import shutil
  import subprocess
  import sys
  import urllib.request
label_desc: Use image node_id 4 for calling a global function with example usage: model_archiver_command_builder(model_name, version, model_file, serialized_file, handler, extra_files, runtime, archive_format, requirements_file, export_path, force) and returns: cmd