Open wiskojo opened 3 years ago
I also tried checking for the pre-train generators but no clue @wiskojo. Also GraPPa, which also uses a data augmentation strategy, so far has not made their code available.
For the generator code, you can checkout https://github.com/awslabs/gap-text2sql/blob/main/relogic/sql-to-text-train.py and https://github.com/awslabs/gap-text2sql/blob/main/relogic/entity-to-text-train.py, which are sql to text generator and table to text generator. Will upload some data samples to help the understanding.
For the generator code, you can checkout https://github.com/awslabs/gap-text2sql/blob/main/relogic/sql-to-text-train.py and https://github.com/awslabs/gap-text2sql/blob/main/relogic/entity-to-text-train.py, which are sql to text generator and table to text generator. Will upload some data samples to help the understanding.
Can you upload a README about how to run SQL-to-Text? Thanks a lot.
The paper mentions the use of a SQL-to-Text and Table-to-Text model to generate synthetic samples for pre-training. I would like to use these models to try generate synthetic training examples for my own custom datasets. It doesn’t seem like the weights for these models were made public, is there any way I can train these models myself? I saw some code under
relogic
andpretrainkit
which seems relevant for this but couldn’t figure out what data it uses and how to run it. Thanks!