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

What is the masking_ratio? #7

Closed
theotheo opened this issue Oct 22, 2022 · 2 comments
Closed

What is the masking_ratio? #7

theotheo opened this issue Oct 22, 2022 · 2 comments

Comments

@theotheo
Copy link

Hello! Could you help me figure out this part of code?
Here is created masking_ratio variable, but it not used anywhere else. What was the intended purpose of these lines? Maybe a different model was meant originally here?

DocEnTR/models/binae.py

Lines 21 to 22 in 2e09b9e

assert masking_ratio > 0 and masking_ratio < 1, 'masking ratio must be kept between 0 and 1'
self.masking_ratio = masking_ratio

@dali92002
Copy link
Owner

Tha came from a different model, it was not necessary for ours, we remove it now after the refactoring ..

@theotheo
Copy link
Author

theotheo commented Nov 3, 2022

Thank you! Now it's clear.

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

No branches or pull requests

2 participants