-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
When I run the preprocess.py on dataset meatqa,I get the following error:
Traceback (most recent call last):
File "C:\ProgramData\anaconda3\envs\ChatKBQA\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\ProgramData\anaconda3\envs\ChatKBQA\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Code\GraphQ_IR-master\preprocess.py", line 98, in
main()
File "C:\Code\GraphQ_IR-master\preprocess.py", line 90, in main
outputs = encode_dataset(dataset, vocab, tokenizer)
File "C:\Code\GraphQ_IR-master\preprocess.py", line 20, in encode_dataset
inputs.append(item['input'])
KeyError: 'input'
Could you give me some clue about how this happen and how to fix it ?Thanks a lot!
Metadata
Metadata
Assignees
Labels
No labels