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

ModuleNotFoundError: No module named 'relogic.logickit.dataflow' #35

Open rahuls321 opened 1 year ago

rahuls321 commented 1 year ago

I'm trying to pre-train the GAP on my own datasets from scratch, but I found that there is no "dataflow" folder under the relogic(more spercifically the 'relogic.logickit.dataflow.semtransparse.grammar.keywords' is missing ), which is necessary in the TaBARTModel in 'relogic/pretrainkit/models/semparse/modeling_bart_copy.py'.

https://github.com/awslabs/gap-text2sql/blob/83af3f08a6c108f7cbacb8125e2a7ec9255c81b0/relogic/pretrainkit/models/semparse/modeling_bart_copy.py#L31

Hope someone could help on this. Thanks