MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / process_examples

Function process_examples

eval_heldout/science-world/eval.py:170–172  ·  view source on GitHub ↗
(conv: Conversation, example: List[str])

Source from the content-addressed store, hash-verified

168 return filenameOutPrefixSeed
169
170def process_examples(conv: Conversation, example: List[str]):
171 for i, ex in enumerate(example):
172 conv.append_message(conv.roles[i % 2], ex)
173
174def get_prompt(conv: Conversation) -> str:
175 if conv.name == 'openchat':

Callers 1

evalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected