code: def model_fn(model_dir):
      # load model and processor from model_dir
      model = AutoModelForCausalLM.from_pretrained(
          model_dir, device_map="auto", load_in_8bit=True
      )
      tokenizer = AutoTokenizer.from_pretrained(model_dir)
  
      return model, tokenizer
  
label_desc: Use image node_id 1 for calling a global function with example usage: model_fn(model_dir) and returns: model,  tokenizer