-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Merge with the main; Redo the changes: add in prompt mutation components for sodaracer. * Fix stuff; Small change in docstring to follow the mainstream. * Add `error_code`. Allow custom diff model class. * Fix error msg parsing. * Improved some variable names; Added in `Map.empty`; If map is still empty, force `MapElites` to call `.random()` instead of `.mutate()`. * Fix batch generation in `Sodarace`. * Fix batch generation in `Sodarace`. * Uniformize API for image task. * omg brain fart... * fixed other brain farts... * Fix typos. * Clean up: use original type instead of type alias; add `__add__` to `__init__`, put default seeds all under `elm.environment`; clean up api for `ELM` and different envs, ... * Error fixes. * reordered `image_init_args` so that people see it together with `sodarace_init_args`. * Minor correction of a comment. * Deleted my old file that does syntax tree parsing (if the need arises, we can easily add it back); Changed the return of `._post_process` according to Genesis's remark. * minor fixes Co-authored-by: Herbie Bradley <[email protected]>
- Loading branch information
1 parent
bafaa1f
commit 9df5ebf
Showing
17 changed files
with
528 additions
and
424 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
model: codegen-350M-mono | ||
checkpoints_dir: ./checkpoints/ | ||
cuda: True | ||
gpus: 1 | ||
seed: 42 | ||
deterministic: False | ||
fp16: False | ||
top_p: 0.95 | ||
temp: 0.85 | ||
timeout: 5.0 # Seconds | ||
gen_max_len: 1024 | ||
batch_size: 32 | ||
evo_init_steps: 10 | ||
evo_n_steps: 15 | ||
behavior_n_bins: 12 | ||
evo_history_length: 10 | ||
evaluation_steps: 1000 | ||
pad_token: 50256 | ||
env_name: "imageoptim" | ||
run_name: ??? # Mandatory string argument that describes the run. | ||
|
||
################################################################################################### | ||
# Hydra config overrides: | ||
hydra: | ||
run: | ||
dir: logs/${run_name} | ||
sweep: | ||
dir: logs/${run_name} |
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.