microsoft / rat-sql

A relation-aware semantic parsing model from English to SQL
https://arxiv.org/abs/1911.04942
MIT License
406 stars 117 forks source link

Failed to generate val.jsonl after the preprocess of BERT-version rat-sql #70

Open DavidMei99 opened 2 years ago

DavidMei99 commented 2 years ago

I'm trying to apply the BERT-version rat-sql to execute my own queries as well as schema, which were created in my own dev.json and tables.json with a spider format. I successfully tested my own queries by using the Glove-version rat-sql but failed to do the same thing through BERT. The problem happened in the preprocess phase, where no val.jsonl files were generated in this folder: /data/spider/nl2code,output_from=true,fs=2,emb=bert,cvlink. Without these files, training and evaluation are actually impossible. I'm wondering if I miss anything necessary on preparing my own queries.