ufal / neuralmonkey

An open-source tool for sequence learning in NLP built on TensorFlow.
BSD 3-Clause "New" or "Revised" License
410 stars 106 forks source link

Wrappers for reverting gradient during training #808

Closed jlibovicky closed 5 years ago

jlibovicky commented 5 years ago

These are wrappers for Stateful, TemporalStateful and SpatialStateful interfaces which reverse gradients on the states during the back-propagation. This can be used for adversarial training of classifiers/decoders by improving the classifier itself, but making the rest of the network to prevent the classifier to do a good job.

jindrahelcl commented 5 years ago

přidat test please...