Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generators used for pre-training #13

Open
wiskojo opened this issue Mar 31, 2021 · 3 comments
Open

Generators used for pre-training #13

wiskojo opened this issue Mar 31, 2021 · 3 comments

Comments

@wiskojo
Copy link

wiskojo commented Mar 31, 2021

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 and pretrainkit which seems relevant for this but couldn’t figure out what data it uses and how to run it. Thanks!

@PedroEstevesPT
Copy link

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.

@Impavidity
Copy link
Contributor

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.

@Fheon
Copy link

Fheon commented Sep 23, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants