-
Notifications
You must be signed in to change notification settings - Fork 590
Added the README and script files for training sql_agent on NPU #272
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
base: main
Are you sure you want to change the base?
Conversation
|
/cla |
|
@microsoft-github-policy-service agree company="HUAWEI" |
| @@ -0,0 +1,200 @@ | |||
| """Train an SQL agent on the Spider dataset using Agent-lightning. | |||
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.
what's the difference of this new script and the old script?
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.
Added configuration for training on NPUs.
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.
which is?
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.
Added "device": "npu" to the trainer and modified several other parameters.
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.
In that case, create a new function in like config_train_npu in the original script and add a section in the README will be enough. You can reference this README in the spider recipe.
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.
We don't want to include a dedicated script in a CI-maintained examples for some hardwares that is not included in the CI., unless we will have a NPU machine for daily testing.
Added the README and script files for training sql_agent on NPU