def METHOD_NAME(self, name) -> None:
    names = self.model_name.split("_")
    num_names = len(names)
    if num_names == 3:
        # Handled slightly differently for Flan-T5 model naming
        configuration = names[1]
        type = names[2]
        expected_asset_name = f"t5.flan.{configuration}.{type}.output.pt"
        t5_model = BUNDLERS["flan_" + configuration + "_" + type]
    elif num_names == 2:
        configuration = names[0]
        type = names[1]
        expected_asset_name = f"t5.{configuration}.{type}.output.pt"
        t5_model = BUNDLERS[configuration + "_" + type]
    else:
        raise RuntimeError(f"Unknown model name: {self.model_name}")
    test_text = ["Hello world", "Attention rocks!"]
    is_jit = name == "jit"
    self._t5_model(is_jit=is_jit, t5_model=t5_model, expected_asset_name=expected_asset_name, test_text=test_text)