-
Notifications
You must be signed in to change notification settings - Fork 177
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
Fix generator progress bar #337
Conversation
I have once encountered this. Just use p.update(len - p.t) fix it 🤔 |
Yeah, that's basically what this PR does. You can see the diff here: https://github.com/neulab/prompt2model/compare/refactor_dataset_generator..fix_generator_progress_bar |
@neubig do you need to re-merge main into this branch? It says there are 1k lines added which seems wrong from the description of this PR. |
This builds of 335 and 336 so they should be reviewed first, but you can also look at the diff that I posted above too |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Vijay Viswanathan <[email protected]>
…_dataset_retriever
Description
The generator progress bar was broken, making it look like progress was faster than it actually was.
References
Blocked by