def METHOD_NAME(self, inputs: Dict[str, Any]) -> Dict[str, Any]:
    output_ids, output_len = inputs['output_ids'][0], inputs[
        'output_lens'][0]
    output_ids = output_ids[:output_len - 1]  # -1 for </s>
    output_tokens = ' '.join([
        self.vocab_reverse.get(wid, self.unk_token) for wid in output_ids
    ])
    post_editing_output = self.postprocess_fun(output_tokens)
    result = {OutputKeys.TRANSLATION: post_editing_output}
    return result