GithubHelp home page GithubHelp logo

rhythmcao / text-to-sql-astormer Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 257 KB

Source code for grammar-based text-to-SQL parser using one variant of Transformer decoder called ASTormer. Implementations for prevalent cross-domain multi-table benchmarks Spider, SParC, CoSQL, DuSQL and Chase are all included.

Home Page: https://arxiv.org/pdf/2310.18662.pdf

Dockerfile 0.11% Python 98.14% Shell 1.75%
text-to-sql grammar-based-parser task-specific-model

text-to-sql-astormer's People

Contributors

rhythmcao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

saivignesh-05

text-to-sql-astormer's Issues

Help Wanted!Why did you choose 'word-level schema linking' instead of 'token-level schema linking'?

image

Hello~ rhythm~ I want to ask why word level schema linking is used instead of using an subword level schema linking process.
I found a curious problem while reading the code. If PLM is used for tokenizing, would schema linking at the subword level be better than at the word level? Have you ever tried some tests about it? Thank you very much for your reply.

image

Because I found in LGESQL that there is indeed aggregation and pooling function at the subword token-level. So I am curious why RAT-SQL only needs word level. In addition, your lgesql is written very well. It is a rare and foundational article for the text-to-SQL task. Thank you very much for your contribution to the community.

Pretrained on spider data

Hello @rhythmcao, Do you have a previously trained model on the spider dataset, so that I can directly use it for inference. I'm only interested in using different metrics to check how different models perform. So it will be of real help if u can add the pretrained model directly useful for inference. Thanks in advance

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.