awslabs / gap-text2sql

GAP-text2SQL: Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-Training
https://arxiv.org/abs/2012.10309
Apache License 2.0
102 stars 25 forks source link

How much time will it take to run preprocess step? #21

Open alan-ai-learner opened 3 years ago

Impavidity commented 3 years ago

This is the output when I run python run.py preprocess experiments/spider-configs/gap-run.jsonnet.

As you can see, it takes 25mins to preprocess on the train set. Screen Shot 2021-08-20 at 3 03 46 PM

Make sure that your Stanford NLP service is responsible. If you did not see similar preprocessing time, one possible issue is your file system. If you store your databases on filesystems that will cache/commit every action you made (for recovery), the preprocessing will be very slow.

Let me know if you have other questions.

Peng

alan-ai-learner commented 3 years ago

Okay.