code: def get_model_name_from_path(model_path):
      model_path = model_path.strip("/")
      model_paths = model_path.split("/")
      if model_paths[-1].startswith("checkpoint-"):
          return model_paths[-2] + "_" + model_paths[-1]
      else:
          return model_paths[-1]
  
file_path: llmga/llmga/llava/mm_utils.py
imports: from PIL import Image
  from io import BytesIO
  import base64
  import torch
  from transformers import StoppingCriteria
  from llmga.llava.constants import IMAGE_TOKEN_INDEX
label_desc: Use image node_id 4 for calling a global function with example usage: get_model_name_from_path(model_path) and returns: unknown, model_paths