↓ 2 callersMethod__merge_token_to_word(self, tokens, token_probs, force_tokens, token_map, force_reserve_digit)
tool/FlashRAG/flashrag/refiner/llmlingua_compressor.py:2190
↓ 2 callersFunction_encode_supervised_example(
prompt: Sequence[Dict[str, str]],
response: Sequence[Dict[str, str]],
system: Optional[str],
train/LLaMA-Factory/src/llamafactory/data/processors/supervised.py:34
↓ 2 callersMethod_parse_exampler""" input: a dict with keys {"question", "A", "B", "C", "D", "answer"} output: a tuple of (prompt, response)
train/LLaMA-Factory/src/llamafactory/eval/template.py:28