MCPcopy Create free account
hub / github.com/InternScience/SciReason / _parse

Function _parse

opencompass/datasets/MedXpertQA.py:12–16  ·  view source on GitHub ↗
(item, prompt_mode)

Source from the content-addressed store, hash-verified

10
11
12def _parse(item, prompt_mode):
13 item['start'] = chr(65)
14 item['end'] = chr(65 + len(item.get('options', [])) - 1)
15 item['prompt_mode'] = prompt_mode
16 return item
17
18
19@LOAD_DATASET.register_module()

Callers 1

loadMethod · 0.70

Calls 1

getMethod · 0.80

Tested by

no test coverage detected