↓ 2 callersMethod_encode_data_example(
self,
prompt: list[dict[str, str]],
response: list[dict[str, str]],
system:
llamafactory/src/llamafactory/data/processor/supervised.py:33
↓ 2 callersMethod_parse_exampler"""Parse eval example. input: a dict with keys {"question", "A", "B", "C", "D", "answer"} output: a tuple of (prompt, response).
llamafactory/src/llamafactory/eval/template.py:27