Skip to content
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

How to evaluate a Seq2Seq model ? #78

Open
mellahysf opened this issue Jan 13, 2021 · 2 comments
Open

How to evaluate a Seq2Seq model ? #78

mellahysf opened this issue Jan 13, 2021 · 2 comments

Comments

@mellahysf
Copy link

Hi,

I have built a se2seq model that takes the question and generates the SQL query directly.

My question is how to evaluate my model since the predictions are in sequence format ("select .... from ... where...")?

It's very urgent, please.

Thanks

@jaytimbadia
Copy link

Hi @mellahysf
How can one train on a custom SQLite file or database?
Can you please provide the steps or can share your training script if possible?

Thank you!

@Timothyxxx
Copy link

Timothyxxx commented Aug 3, 2021

Hi~A simple solution is to use the evaluation from Spider dataset https://github.com/taoyds/spider which has great written parser to formulate the sql. Otherwise, since the formulation of WikiSQL is quiet simple, you can just write a parser for you generated SQL.

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