-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(readme): update instructions * refactor(sweep): reuse existing examples and configs * fix(sweep): enable checkpointing for hyperband * feat(sweep): add accelerate support * fix(sweep): report with new params space * feat(sweep): replace generic names * chore(ppo_config): update better values * chore(sweep): set max_concurrent_trials to default * chore(examples): update the rest of examples to a new main signature * chore(readme): update sweep instruction * chore(sweep): add warning/confirmation check before importing * chore(sweep): update sweep instruction * update(config): to more stable values
- Loading branch information
1 parent
3db86ca
commit ff0d077
Showing
17 changed files
with
292 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
tune_config: | ||
mode: "max" | ||
metric: "metrics/sentiments" | ||
search_alg: "random" | ||
scheduler: "fifo" | ||
num_samples: 32 | ||
|
||
lr_init: | ||
strategy: "loguniform" | ||
values: [0.00001, 0.01] | ||
tau: | ||
strategy: "uniform" | ||
values: [0.6, 0.9] | ||
steps_for_target_q_sync: | ||
strategy: "choice" | ||
values: [1, 5, 10] | ||
alpha: | ||
strategy: "loguniform" | ||
values: [0.001, 1.0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
tune_config: | ||
mode: "max" | ||
metric: "mean_reward" | ||
search_alg: "random" | ||
scheduler: "fifo" | ||
num_samples: 32 | ||
|
||
# https://docs.ray.io/en/latest/tune/api_docs/search_space.html#tune-sample-docs | ||
lr_init: | ||
strategy: "loguniform" | ||
values: [0.00001, 0.01] | ||
init_kl_coef: | ||
strategy: "uniform" | ||
values: [0, 0.2] | ||
vf_coef: | ||
strategy: "uniform" | ||
values: [0.5, 2] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.