chisp icon indicating copy to clipboard operation
chisp copied to clipboard

train_gold.sql 和 train.json 还有 dev_gold.sql 和 dev.json 中SQL值不匹配问题

Open fz5400 opened this issue 1 year ago • 2 comments

_goal.sql文件中的sql语句的条件值并未进行翻译,从而导致与json档中的sql语句不匹配。 例如: 在dev.json中,问句为所有法国歌手的平均年龄、最小年龄和最大年龄是多少?,对应的sql语句是SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = '法国',而在dev_gold.sql文件中的sql语句为SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France' concert_singer, 可以看出country的值应该为法国

fz5400 avatar May 19 '23 06:05 fz5400

请问这个问题怎么解决啊

kkknightzzzz avatar Apr 17 '24 01:04 kkknightzzzz

我也发现了同样的问题,数据集中提供的dev_gold.sql文件是spider中自带的,并没有与cspider的dev.json保持一致

Forest-Lee avatar May 19 '24 09:05 Forest-Lee