-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
Option to output "test predictions" text file with each checkpoint in run_seq2seq.py #10381
Comments
May be of interest to @patil-suraj @stas00 @sgugger |
Yes, as I replied in the forums, this functionality was dropped - not sure why it was done, as I wasn't part part of the planning discussion. I think it was not intentional, the devs were probably unaware it was used and given that the example tests were dropped too it's not surprising it was missed. I propose the dropped examples tests are restored (which will require porting to the new script) which will expose some of the functionality that was removed with it. Practically, let's identify what else might have been removed and create separate issues besides this one and may be ask the community to help restore/backport the previously working things to the new script(s)? e.g. one such important thing is the tests that were moved to legacy, so this script is no longer being tested. p.s. this should be of help restoring/porting the example tests #10036 |
@bhadreshpsavani, please let us know if you're inspired to take care of this in: |
Sure @stas00, |
Correction, as I was refactoring I'm not attached to either,
I think the original name is the most intuitive one. @sgugger, do you have an opinion here? |
@bhadreshpsavani, so please hold a moment while we are re-modelling |
PR to restore the original functionality: #10428 |
OK, the original name has been restored as it used to be, @kingpalethe As I mentioned in #10428 if you'd like to request a new feature to do this on each check point please don't hesitate to make such request. |
All is good. and now I see that my PR made that script inconsistent with other scripts, but perhaps all scripts should use the same filename for |
Further to this discussion:
https://discuss.huggingface.co/t/how-to-output-test-generations-txt-with-run-seq2seq-py/3825
The prior incarnation of this script would output test generations at each checkpoint, which was very useful for understanding the progress of model training.
The current script...
https://github.com/huggingface/transformers/blob/master/examples/seq2seq/run_seq2seq.py
Seems to only output this text file once, at the end of the last epoch.
If there was a way to enable the previous behavior, I am guessing that would be widely useful.
thanks
The text was updated successfully, but these errors were encountered: