pytorch-transformer icon indicating copy to clipboard operation
pytorch-transformer copied to clipboard

Question of the parameter 'sinusoid'

Open CrystalWLH opened this issue 6 years ago • 1 comments
trafficstars

I want to know why using the parameter 'sinusoid'? And could I not set the parameter ‘maxlen’ and using varying length of the text between batch?

CrystalWLH avatar Apr 23 '19 13:04 CrystalWLH

@CrystalWLH Because this repository is an earlier Transformer version, the original version is implemented with Tensorflow, see Kyubyong/transformer

alphadl avatar Jun 18 '19 13:06 alphadl