This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Forked From: | |
https://gist.github.com/mutiann/38a7638f75c21479582d7391490df37c | |
Implementation for https://arxiv.org/abs/1906.00672 | |
Tips: You may use "hard" for hard inference, or "parallel" for training or | |
soft inference. | |
You possibly have to tune the score_bias_init, which, similar to that in Raffel et al., 2017, is determined a priori to |