editsql icon indicating copy to clipboard operation
editsql copied to clipboard

Testing on custom questions/queries

Open Param-Raval opened this issue 4 years ago • 5 comments

I was able to train/test on the given Spider and "spider_data_removefrom" sets but I want to test the model on a given question-query. I tried editing the queries in the dev.json file but the predictions remain the same as the queries in the original dev.json. Can you help me out?

Param-Raval avatar Jun 23 '20 10:06 Param-Raval

+1

gouldju1 avatar Aug 14 '20 22:08 gouldju1

Hi, @Param-Raval have you solved this issue as I am facing the same issue(on Sparc dataset).

Akshaysharma29 avatar Sep 15 '20 10:09 Akshaysharma29

Yes, I was able to get a workaround. There are certain folders that need to be deleted in order for the model to register the changes. Delete these and run the training script again:

  • logs_sparc_editsql
  • processed_data_sparc_removefrom
  • processed_data_sparc_removefrom_test

After the preprocessing steps, these will appear again but with the changes you made in the json file.

Param-Raval avatar Sep 15 '20 11:09 Param-Raval

Hi @Param-Raval thanks for the response but the issue is due to OOV as described in the below issue https://github.com/ryanzhumich/editsql/issues/21 Hence Solving OOV issue has solved this issue.

Akshaysharma29 avatar Sep 16 '20 09:09 Akshaysharma29

@Akshaysharma29 Hi I tryied the adaptation proposed by Param but as I add new data I am facing the problem that you mentioned with OOV, did you manage to solve it?

imanuelroz avatar Nov 23 '21 11:11 imanuelroz