Closed YaooXu closed 8 months ago
When I use the eval.py to evaluate the performance of ToG on CWQ, I encounter an error:
File "/data/KBQA/ToG-new/eval/utils.py", line 63, in align alias = answer['aliases'] TypeError: string indices must be integers
In the cwq.json, the 'answer' of each query is a string, and it has no 'aliases' key.
Some data sets do not have aliases and can be removed directly.
When I use the eval.py to evaluate the performance of ToG on CWQ, I encounter an error:
In the cwq.json, the 'answer' of each query is a string, and it has no 'aliases' key.