salesforce / TabularSemanticParsing

Translating natural language questions to a structured query language
https://arxiv.org/abs/2012.12627
BSD 3-Clause "New" or "Revised" License
222 stars 51 forks source link

pre-processing #20

Open NiceMartin opened 3 years ago

NiceMartin commented 3 years ago

Hi, when I am running the following code,

Data Repair (more details in section 4.3 of paper)

python3 data/spider/scripts/amend_missing_foreign_keys.py data/spider

I got the following error message:

for i, c in enumerate(table['column_names_original']): KeyError: 'column_names_original'

I checked the spider dataset; tables there do not have the filed 'column_names_original'.

Does anyone encounter the same problem?