Skip to content

Commit

Permalink
Add beam search
Browse files Browse the repository at this point in the history
  • Loading branch information
melihyilmaz committed Nov 2, 2022
1 parent a5c05b8 commit 0710ee8
Show file tree
Hide file tree
Showing 4 changed files with 376 additions and 7 deletions.
1 change: 1 addition & 0 deletions casanovo/casanovo.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def main(
model_save_folder_path=str,
save_weights_only=bool,
every_n_train_steps=int,
n_beams=int,
)
for k, t in config_types.items():
try:
Expand Down
1 change: 1 addition & 0 deletions casanovo/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ weight_decay: 1e-5
# Training/inference options.
train_batch_size: 32
predict_batch_size: 1024
n_beams: 1

logger:
max_epochs: 30
Expand Down
Loading

0 comments on commit 0710ee8

Please sign in to comment.