Giter Club home page Giter Club logo

Comments (6)

wbbeyourself avatar wbbeyourself commented on August 27, 2024

因为如果参数为 all ,即使无法执行,SQL层面上match也算对;而exec必须保证SQL能执行且执行结果和Gold完全一致才行,条件比all苛刻,所以会低2个点。

from mac-sql.

wbbeyourself avatar wbbeyourself commented on August 27, 2024

image

from mac-sql.

Everyth1ng-kyh avatar Everyth1ng-kyh commented on August 27, 2024

感谢您的回复,这对我非常重要。请问MAC中的实验结果使用的是all还是exec呢?NL2SQL普遍使用的是哪种呢?
并且我调用的公司聊天GPT4O(带有上下文可能会对实验结果产生影响),复现了MAC-SQL发现在SPIDER上,EM分数较低(20左右),这是否和您当时得到的实验结果一致?如果一致的话,您知道其中的原因是什么吗?

from mac-sql.

wbbeyourself avatar wbbeyourself commented on August 27, 2024

MAC-SQL 用的exec,这点可以从代码脚本中看到。NL2SQL普遍采用 exec,因为随着大模型出现,EM指标显得很鸡肋,无法反映出模型的真实能力,因为SQL的写法有很多,只要答案对了即可,而EM指标要求写法完全按照Gold的来,很显然这不合理。MAC-SQL在EM较低是正常的,现在大模型方案在EM上都低,所以现在NL2SQL论文都已经摈弃EM指标了,都用的EX指标。

from mac-sql.

Everyth1ng-kyh avatar Everyth1ng-kyh commented on August 27, 2024

FlyingFeather/DEA-SQL#1 (comment)
你知道DEA-SQL这篇论文吗,这个问题中提到您之前提交的代码好像和现在不同。

from mac-sql.

wbbeyourself avatar wbbeyourself commented on August 27, 2024

Spider数据集上是有点调整,你可以用现在的版本。

from mac-sql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.