def METHOD_NAME(self, split_file: str, split: str) -> List[Instance]:
    """
    Helper for generating instances for a split.
    Args:
        split_file (str): File for the corresponding data split
        split (str): Which split the instances are coming from.
    Returns:
        List[Instance]: Instances for the specified split
    """
    split_instances: List[Instance] = []
    with open(split_file, encoding="utf-8") as f:
        all_samples = json.load(f)["data"]
    for sample in all_samples:
        prompt, answers = self.create_prompt(sample)
        instance = Instance(
            input=Input(text=prompt),
            references=[Reference(Output(text=answer), tags=[CORRECT_TAG]) for answer in answers],
            split=split,
        )
        split_instances.append(instance)
    return split_instances