def METHOD_NAME(self, inputs: Dict[str, Any]) -> Dict[str, Any]:
    label_mapping_path = osp.join(self.local_path, 'label_mapping.txt')
    with open(label_mapping_path, 'r', encoding='utf-8') as f:
        label_mapping = f.readlines()
    score = torch.max(inputs['outputs'])
    inputs = {
        OutputKeys.SCORES: [score.item()],
        OutputKeys.LABELS:
        [label_mapping[inputs['outputs'].argmax()].split('\t')[1]]
    }
    return inputs