docs: def load_model(model_cls_path, model_cls_name, model_load_args):
      """Get an instance of the described model.
  
      Args:
          model_cls_path: Path to the module in which the model class
              is defined.
          model_cls_name: Name of the model class.
          model_load_args: Dictionary of args to pass to the `load` method
              of the model instance.
  
      Returns:
          An instance of :class:`.models.model.BaseModel` or subclass
  
      """
      spec = importlib.util.spec_from_file_location('active_model',
                                                    model_cls_path)
      model_module = importlib.util.module_from_spec(spec)
      spec.loader.exec_module(model_module)
      model_cls = getattr(model_module, model_cls_name)
      model = model_cls()
      if not isinstance(model, BaseModel):
          warnings.warn("Loaded model '%s' at '%s' is not an instance of %r"
                        % (model_cls_name, model_cls_path, BaseModel))
      model.load(**model_load_args)
      return model