code: def model_fn(model_dir):
      """
      Deserialize and return fitted model.
      """
      model_file = "xgboost-model"
      booster = pkl.load(
          open(os.path.join(model_dir, model_file), "rb")
      )
      return booster
  
imports: import os
  import pickle
  import numpy
  import sagemaker_xgboost_container.encoder
label_desc: Use image node_id 1 for calling a global function with example usage: model_fn(model_dir) and returns: booster