in cookbook-efforts/dpo-orpo-preference/aya_dpo_gen.py [0:0]
def format_input(self, input: Dict[str, Any]) -> "ChatType":
return [
{"role": "system", "content": system_prompt},
{"role": "user", "content": input["instruction"]},
]