Skip to content

Henryh/de spookify masking#409

Closed
Hgherzog wants to merge 11 commits intomainfrom
henryh/de-spookify-masking
Closed

Henryh/de spookify masking#409
Hgherzog wants to merge 11 commits intomainfrom
henryh/de-spookify-masking

Conversation

@Hgherzog
Copy link
Copy Markdown
Collaborator

Hopefully cleaning up the confusing masking code so that it is more readable.

Comment thread olmoearth_pretrain/train/masking.py Outdated
Comment thread olmoearth_pretrain/train/masking.py Outdated
) -> set[tuple[str, int]]:
"""Randomly select which bandsets to decode."""
min_decoded, max_decoded = min_max_decode
if self.allow_encoding_decoding_same_bandset:
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I think it is clearer to randomly select in both cases then to always take all of the other as we were doing before. If we want an always decode all option we should have that seperately or you just set min and max decoded bandsets to be very high.

@Hgherzog Hgherzog closed this Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants