8000 train_gold.sql 和 train.json 还有 dev_gold.sql 和 dev.json 中SQL值不匹配问题 · Issue #15 · taolusi/chisp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fz5400 opened this issue May 19, 2023 · 2 comments

Comments

@fz5400
Copy link
fz5400 commented May 19, 2023

_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的值应该为法国

@kkknightzzzz
Copy link

请问这个问题怎么解决啊

@Forest-Lee
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0