-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Conversation
@stephenroller Can you please look into this ? It has been here for sometime now. |
I was thinking of using the functionality brought from this to teachers also. Teacher files have |
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.
I'm fine with this, but I'm pretty sure the existing code already sets the seed. Can we double check?
I did check, i didn't find any way to setting the seed universally. I plan to send one more PR for |
interestingly I can't seem to find it either. we set seeds in nearly every other script except for train model pure non-determinism! In that case, can we have the default seed be |
Default way is to set the seed to 42 right ? Can I set it to 42, and this can be overridden by the user by passing in |
ah right this is what i misremembered |
historically we've preferred backwards compatibility |
I agree, let's keep it to None. We've advocated for variability from the start |
@klshuster Is it fine now ? |
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, will leave Kurt for final approval and merge
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.
thank you!
Patch description
Adding a function that allows user to set seed for training. User just has to pass the flag --set_seed with existing arguments to train_model.py in case they want to use a seed other than 42.
Testing steps
Other information