-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 313-update-readme-components
- Loading branch information
Showing
128 changed files
with
11,609 additions
and
7,758 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 |
---|---|---|
|
@@ -26,5 +26,3 @@ buffer: | |
test: | ||
type: grid | ||
n: 1000 | ||
output_csv: alaninedipeptide_test.csv | ||
output_pkl: alaninedipeptide_test.pkl |
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 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,3 @@ buffer: | |
test: | ||
type: uniform | ||
n: 10 | ||
output_csv: scrabble_test.csv | ||
output_pkl: scrabble_test.pkl |
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 |
---|---|---|
|
@@ -20,6 +20,3 @@ buffer: | |
test: | ||
type: random | ||
n: 10 | ||
output_csv: tetris_test.csv | ||
output_pkl: tetris_test.pkl | ||
|
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 |
---|---|---|
|
@@ -35,5 +35,3 @@ buffer: | |
test: | ||
type: random | ||
n: 1000 | ||
output_csv: tree_test.csv | ||
output_pkl: tree_test.pkl |
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,26 @@ | ||
_target_: gflownet.evaluator.base.BaseEvaluator | ||
|
||
# config formerly from logger.test | ||
first_it: True | ||
period: 100 | ||
n: 100 | ||
kde: | ||
bandwidth: 0.1 | ||
kernel: gaussian | ||
n_top_k: 5000 | ||
top_k: 100 | ||
top_k_period: -1 | ||
# Number of backward trajectories to estimate the log likelihood of each test data point | ||
n_trajs_logprobs: 10 | ||
logprobs_batch_size: 100 | ||
logprobs_bootstrap_size: 10000 | ||
# Maximum number of test data points to compute log likelihood probs. | ||
max_data_logprobs: 1e5 | ||
# Number of points to obtain a grid to estimate the reward density | ||
n_grid: 40000 | ||
train_log_period: 1 | ||
checkpoints_period: 1000 | ||
# List of metrics as per gflownet/eval/evaluator.py:METRICS_NAMES | ||
# Set to null for all of them | ||
# Values must be comma separated like `metrics: "l1, kl, js"` (spaces are optional) | ||
metrics: all |
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,76 @@ | ||
# @package _global_ | ||
# A configuration that works well with the Branin proxy. | ||
# wandb: https://wandb.ai/alexhg/Branin/runs/xlxfdc6k | ||
|
||
defaults: | ||
- override /env: ccube | ||
- override /gflownet: trajectorybalance | ||
- override /proxy: box/branin | ||
- override /logger: wandb | ||
|
||
# Environment | ||
env: | ||
n_dim: 2 | ||
n_comp: 5 | ||
beta_params_min: 0.1 | ||
beta_params_max: 100.0 | ||
min_incr: 0.1 | ||
fixed_distr_params: | ||
beta_weights: 1.0 | ||
beta_alpha: 10.0 | ||
beta_beta: 10.0 | ||
bernoulli_eos_prob: 0.1 | ||
bernoulli_bts_prob: 0.1 | ||
random_distr_params: | ||
beta_weights: 1.0 | ||
beta_alpha: 10.0 | ||
beta_beta: 10.0 | ||
bernoulli_eos_prob: 0.1 | ||
bernoulli_bts_prob: 0.1 | ||
reward_func: identity | ||
|
||
# GFlowNet hyperparameters | ||
gflownet: | ||
random_action_prob: 0.1 | ||
optimizer: | ||
batch_size: | ||
forward: 100 | ||
lr: 0.0001 | ||
z_dim: 16 | ||
lr_z_mult: 100 | ||
n_train_steps: 10000 | ||
|
||
# Policy | ||
policy: | ||
forward: | ||
type: mlp | ||
n_hid: 128 | ||
n_layers: 2 | ||
checkpoint: forward | ||
backward: | ||
shared_weights: True | ||
checkpoint: backward | ||
|
||
# Evaluator | ||
evaluator: | ||
first_it: False | ||
period: 500 | ||
n: 1000 | ||
checkpoints_period: 500 | ||
|
||
# WandB | ||
logger: | ||
do: | ||
online: true | ||
lightweight: True | ||
project_name: "branin" | ||
tags: | ||
- gflownet | ||
- continuous | ||
- ccube | ||
- branin | ||
|
||
# Hydra | ||
hydra: | ||
run: | ||
dir: ${user.logdir.root}/ccube/branin/${now:%Y-%m-%d_%H-%M-%S_%f} |
Oops, something went wrong.