-
Notifications
You must be signed in to change notification settings - Fork 57
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
Clean up cot_instructions placeholder #216
Conversation
…thin cot_instructions, which we prefer to leave as an experimental field - Rename join_hints to join_str to better match the variable name
Thank you for cleaning it up! |
To clarify the PR a bit, does this always lead to the creation of table aliases as a default - regardless of the CLI params that a user uses? :) |
Would we also need the table_alias field in generating the prompt in all other runners? |
Don't think we need to – performance for all generalist models decreased significantly after adding the table_alias field, so decided to intentionally not put it in! |
Yep that's right! The user can control that option directly within the prompt by just putting/omitting the placeholder |
Oh good point, I think we'll minimally need to add it to our
On a separate note, I think we can potentially refactor |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the fix for the API runner!
Changes
cot_instructions
withtable_aliases
. We prefer to leavecot_instructions
as an experimental field.table_aliases
into their prompts more easily now by just directly sticking the placeholder{table_aliases}
inside their prompt, without having to pass a combination of cli args + prompt changes + code changes.join_hints
tojoin_str
to better match the variable nameTesting
We ran the following on gpu-inference
Results:
These are the same compared to when run on the
main
branch, and differences from our sota results are likely due to the different gpu hardware/setup.