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

Function _parse

opencompass/datasets/CARDBiomedBench.py:8–14  ·  view source on GitHub ↗
(item, prompt_mode)

Source from the content-addressed store, hash-verified

6
7
8def _parse(item, prompt_mode):
9 item['expert'] = item['Bio_Category']
10 item['start'] = chr(65)
11 item['end'] = chr(65 + len(item.get('choices', {'label': []})['label']) -
12 1)
13 item['prompt_mode'] = prompt_mode
14 return item
15
16
17@LOAD_DATASET.register_module()

Callers 1

loadMethod · 0.70

Calls 1

getMethod · 0.80

Tested by

no test coverage detected