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

No table_to_projDataset key in table_json when evaluating CODES #46

Open
h0l07zi opened this issue Jan 17, 2025 · 3 comments
Open

No table_to_projDataset key in table_json when evaluating CODES #46

h0l07zi opened this issue Jan 17, 2025 · 3 comments
Assignees

Comments

@h0l07zi
Copy link

h0l07zi commented Jan 17, 2025

L89 in Spider2/spider2-lite/baselines/utils/post_utils.py gives KeyError: table_to_prjDataset. The table_json is generated in the preprocess stage for baseline model CODES. The file directory is table_json = osp.join(proj_dir, 'preprocessed_data/tables_preprocessed.json')

@lfy79001 lfy79001 assigned lfy79001 and yuxiaooye and unassigned lfy79001 Jan 17, 2025
@lfy79001
Copy link
Collaborator

You can try spider-agent-lite and spider-agent-snow. They may be more beneficial for researching Agent-style text-to-SQL!

@h0l07zi
Copy link
Author

h0l07zi commented Jan 21, 2025

Sure, thanks. I tried but got BQ credential errors. How often do you process the signup form? I already signed up for my SA twice. Thanks again!

@lfy79001
Copy link
Collaborator

Hi, for BQ credential, you don't need to fill the signup form, you only need to fill the snowflake form for snowflake account.
As long as you follow the steps in this link to register for BigQuery and generate credentials, you will be able to use it.

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

3 participants