This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
Passing training step in the forward() of allennlp model #5349
Unanswered
awasthiabhijeet
asked this question in
Q&A
Replies: 1 comment 1 reply
-
If I understand correctly, you want to change the dropout probability of your model throughout training depending on how many steps you've trained for so far? You could accomplish this with a custom |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I wish to use the training step as a parameter to change dropout probability inside the forward() function in the implementation of my allennlp model.
What would be the best way to do it?
I want to make use of
allenlp.train
, and wish to avoid writing a custom training loop myself.Thanks,
Beta Was this translation helpful? Give feedback.
All reactions