-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[Rllib] - Example Cleanups new API Stack - Autoregressive Action Module #45525
[Rllib] - Example Cleanups new API Stack - Autoregressive Action Module #45525
Conversation
Signed-off-by: Simon Zehnder <simon.zehnder@gmail.com>
Signed-off-by: Simon Zehnder <simon.zehnder@gmail.com>
Signed-off-by: Simon Zehnder <simon.zehnder@gmail.com>
Signed-off-by: Simon Zehnder <simon.zehnder@gmail.com>
Signed-off-by: Simon Zehnder <simon.zehnder@gmail.com>
Signed-off-by: Simon Zehnder <simon.zehnder@gmail.com>
Signed-off-by: Simon Zehnder <simon.zehnder@gmail.com>
Signed-off-by: Simon Zehnder <simon.zehnder@gmail.com>
… in testing. Signed-off-by: Simon Zehnder <simon.zehnder@gmail.com>
rllib/examples/rl_modules/classes/autoregressive_actions_rlm.py
Outdated
Show resolved
Hide resolved
rllib/examples/rl_modules/classes/autoregressive_actions_rlm.py
Outdated
Show resolved
Hide resolved
…docstrings and annotations and moved experiments to own file in parent folder. In addition fixed some minor bugs and tested the example script for bugs and learning. Signed-off-by: Simon Zehnder <simon.zehnder@gmail.com>
Signed-off-by: Simon Zehnder <simon.zehnder@gmail.com>
Signed-off-by: Simon Zehnder <simon.zehnder@gmail.com>
@@ -0,0 +1,107 @@ | |||
"""An example script showing how to define and load an `RLModule` with |
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.
Nice nice nice! Thanks for adding this.
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.
LGTM! Could we add this script to the CI? New stack only. And some reachable learning criterium with the --as-test
option.
Why are these changes needed?
Implements an example of how to define an
RLModule
with dependent action distributions.Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.