Styleformer
Styleformer copied to clipboard
Usage of "adequacy_model" in the `def _active_to_passive()` and `def _passive_to_active()`
In the codes, an adequacy model is applied to score and rank the generated sentences.
(1) def _formal_to_casual()
: https://github.com/PrithivirajDamodaran/Styleformer/blob/main/styleformer/styleformer.py#L69-L95
(2) def _casual_to_formal()
: https://github.com/PrithivirajDamodaran/Styleformer/blob/main/styleformer/styleformer.py#L97-L123
May I know why it is not used in the def _active_to_passive()
and def _passive_to_active()
?
Thank you very much!