WikiSQL icon indicating copy to clipboard operation
WikiSQL copied to clipboard

How to evaluate a Seq2Seq model ?

Open mellahysf opened this issue 4 years ago • 2 comments

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

mellahysf avatar Jan 13 '21 09:01 mellahysf

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!

jaytimbadia avatar Mar 23 '21 09:03 jaytimbadia

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.

Timothyxxx avatar Aug 03 '21 17:08 Timothyxxx