def METHOD_NAME(self, args):
    """`initialize` is called only once when the model is being loaded.
    Implementing `initialize` function is optional. This function allows
    the model to intialize any state associated with this model.
    Parameters
    ----------
    args : dict
      Both keys and values are strings. The dictionary keys and values are:
      * model_config: A JSON string containing the model configuration
      * model_instance_kind: A string containing model instance kind
      * model_instance_device_id: A string containing model instance device ID
      * model_repository: Model repository path
      * model_version: Model version
      * model_name: Model name
    """
    # You must parse model_config. JSON string is not parsed here
    self.model_config = model_config = json.loads(args['model_config'])
    # get device
    if args["model_instance_kind"] == "GPU":
        self.device = 'cuda'
    else:
        self.device = 'cpu'
    # get parameter configurations
    self.model = WenetModel(self.model_config, self.device)
    # Get OUTPUT0 configuration
    output0_config = pb_utils.get_output_config_by_name(
        model_config, "OUTPUT0")
    # Convert Triton types to numpy types
    self.output0_dtype = pb_utils.triton_string_to_numpy(
        output0_config['data_type'])
    # use to record every sequence state
    self.seq_states = {}
    print("Finish Init")