code: def get_llama(llama_type=3):
      from huggingface_hub import hf_hub_download
  
      # FIXME: Pass into main()
      if llama_type == 1:
          file = "ggml-model-q4_0_7b.bin"
          dest = "models/7B/"
          prompt_type = "plain"
      elif llama_type == 2:
          file = "WizardLM-7B-uncensored.ggmlv3.q8_0.bin"
          dest = "./"
          prompt_type = "wizard2"
      elif llama_type == 3:
          file = download_simple(
              "https://huggingface.co/TheBloke/Llama-2-7b-Chat-GGUF/resolve/main/llama-2-7b-chat.Q6_K.gguf?download=true"
          )
          dest = "./"
          prompt_type = "llama2"
      else:
          raise ValueError("unknown llama_type=%s" % llama_type)
  
      makedirs(dest, exist_ok=True)
      full_path = os.path.join(dest, file)
  
      if not os.path.isfile(full_path):
          # True for case when locally already logged in with correct token, so don't have to set key
          token = os.getenv("HUGGING_FACE_HUB_TOKEN", True)
          out_path = hf_hub_download(
              "h2oai/ggml", file, token=token, repo_type="model"
          )
          # out_path will look like '/home/jon/.cache/huggingface/hub/models--h2oai--ggml/snapshots/57e79c71bb0cee07e3e3ffdea507105cd669fa96/ggml-model-q4_0_7b.bin'
          shutil.copy(out_path, dest)
      return prompt_type, full_path
  
imports: import hashlib
  import os
  import sys
  import shutil
  from functools import wraps, partial
  import pytest
  from src.utils import call_subprocess_onetask, makedirs, FakeTokenizer, download_simple, sanitize_filename
label_desc: Use image node_id 10 for calling a global function with example usage: get_llama(llama_type) and returns: prompt_type,  full_path