code: def load_model(weights_file, params_file):
      with open(params_file) as f:
          model = keras.models.model_from_json(
              f.read(), custom_objects={"CRF": CRF}
          )
          model.load_weights(weights_file)
  
      return model
  
file_path: ktrain/ktrain/text/ner/anago/models.py
imports: from ....None import utils
  from ....imports import *
label_desc: Use image node_id 2 for calling a global function with example usage: load_model(weights_file, params_file) and returns: model