Coder Social home page Coder Social logo

Schema Modeling about rat-sql HOT 3 CLOSED

manzambi11 avatar manzambi11 commented on June 11, 2024
Schema Modeling

from rat-sql.

Comments (3)

rafiip avatar rafiip commented on June 11, 2024 1

I believe you are confused about the concept of unseen schema. The database schema is always known to the model, Whether you are in the training or testing phase. The model's schema during the testing phase is not seen before, meaning internal relations and/or tokens are a novelty to the model. This does not mean that the model cannot encode them.

from rat-sql.

manzambi11 avatar manzambi11 commented on June 11, 2024

I didn't see this hypothesis even in the article that the schema is always known in the model.

In the article, the challenge in Text to SQL is to jointly encode the question and schema to optimize the generalization for the model be able to have a high accuracy even in unseen schema.

I can use the pretrained RAT with my own dataset. How my schema will be encoded? Because column and table names in database are not often in natural language. For : t_name (is not a NL) for name.

So how RAT handle this problem?

from rat-sql.

manzambi11 avatar manzambi11 commented on June 11, 2024

I think This ticket can be closed. After reading, I understand that BERT can handle UNKNOW words by splitting words into characters, so any words will have an embedding vector

from rat-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.