Skip to content
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

Changes to main FL loss PR #255

Merged
merged 3 commits into from
Nov 27, 2023
Merged

Changes to main FL loss PR #255

merged 3 commits into from
Nov 27, 2023

Conversation

alexhernandezgarcia
Copy link
Owner

This PR is a suggestion of changes to the currently open PR about the new FL loss #253

There are three main changes:

  • Remove get_parent_is_source() in the Batch class because it is used only once and it is simple enough to do it in place.
  • Remove the attribute self.non_terminal_rewards from both the GFlowNetAgent and the Batch, because they are barely used and the code is probably cleaner without it.
  • Create a new forwardlooking.yaml config file in config/gflownet/ to make the FL work like the other losses, and move the state_flow config inside config/gflownet too.

Copy link
Collaborator

@AlexandraVolokhova AlexandraVolokhova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with everything, thanks for improving the PR!

@AlexandraVolokhova AlexandraVolokhova merged commit 764bbec into new_fl_loss Nov 27, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants