You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When integrating HF's GPT2 in #30 I used python.random.seed() and python.random.randint to generate a random seed value for jax.random.PRNGKey(). This method does not allow the user to seed the sequence generation, which is however necessary for reproducibilty.
We can either:
Ask users to set the seed value globally;
Pass PRNG keys explicitly in the code.
The text was updated successfully, but these errors were encountered:
When integrating HF's GPT2 in #30 I used
python.random.seed()
andpython.random.randint
to generate a random seed value forjax.random.PRNGKey()
. This method does not allow the user to seed the sequence generation, which is however necessary for reproducibilty.We can either:
The text was updated successfully, but these errors were encountered: