MCPcopy Create free account
hub / github.com/LHRLAB/ChatKBQA / _parse_args

Function _parse_args

data_process.py:26–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26def _parse_args():
27 parser = argparse.ArgumentParser()
28
29 parser.add_argument('--action',default='merge_all',help='Action to operate')
30 parser.add_argument('--dataset', default='WebQSP', help='dataset to perform entity linking, should be CWQ or WebQSP')
31 parser.add_argument('--split', default='train', help='split to operate on') # the split file: ['dev','test','train']
32
33
34 return parser.parse_args()
35
36
37def combine_entities_from_FACC1_and_elq(dataset, split, sample_size=10):

Callers 1

data_process.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected