def METHOD_NAME(self, text):
    data = self.tokenizer(text, max_length=self.max_length, padding=True, truncation=True)
    input_ids_name = self.runtime.get_input_info(0).name
    token_type_ids_name = self.runtime.get_input_info(1).name
    input_map = {
        input_ids_name: np.array(data["input_ids"], dtype="int64"),
        token_type_ids_name: np.array(data["token_type_ids"], dtype="int64"),
    }
    return input_map