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

The code is missing the relogic.logickit file!please ! #18

Open DHms2020 opened 3 years ago

DHms2020 commented 3 years ago

I'm trying to pre-train the GAP on my own datasets from scratch, but I found that there is no logickit file under the relogic(more spercifically the 'AverageSpanExtractor' class is essential ), which is necessary in the TaBARTModel in 'relogic/pretrainkit/models/semparse/tabart.py' and somewhere else Does the author have not uploaded yet? Hope someone could hep. Thanks

Impavidity commented 3 years ago

You can first refer to the https://github.com/Impavidity/relogic/blob/master/relogic/logickit/modules/span_extractors/average_span_extractor.py. I will reorganize the pre-training code later.

Impavidity commented 3 years ago

You can refer to the pull request https://github.com/awslabs/gap-text2sql/pull/23 for more details.