gap-text2sql icon indicating copy to clipboard operation
gap-text2sql copied to clipboard

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

Open DHms2020 opened this issue 4 years ago • 2 comments

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

DHms2020 avatar Jul 22 '21 03:07 DHms2020

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 avatar Aug 23 '21 02:08 Impavidity

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

Impavidity avatar Aug 23 '21 04:08 Impavidity