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

Unable to pre-train for task sql2nl #20

Open
parmesant opened this issue Feb 26, 2024 · 2 comments
Open

Unable to pre-train for task sql2nl #20

parmesant opened this issue Feb 26, 2024 · 2 comments

Comments

@parmesant
Copy link

According to this readme file, I should be able to run the Pretraining step by running this line of code-
python experiments/sql2nl/run.py train configs/spider/run_config/run_en_spider_pretrain_syn.jsonnet

However, I run into this error-

  File "/tensor2struct-public/tensor2struct/models/spider/spider_enc_bert.py", line 175, in load
    with open(os.path.join(self.data_dir, "relations.json"), "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/spider/spider-0727-google/electra-base-discriminator,other_train-true,syn-r6-m128,sc_link=true,cv_link=true/enc/relations.json'

I've tried looking for relations.json in the repo but couldn't find it there

@berlino
Copy link
Owner

berlino commented Feb 26, 2024

I think they've updated the dataset.

@parmesant
Copy link
Author

Do you recall what that file was supposed to be doing?

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

2 participants