NMT_GAN icon indicating copy to clipboard operation
NMT_GAN copied to clipboard

Mistake in vocab.py?

Open changt opened this issue 5 years ago • 0 comments

Should

        worddict['<PAD>'] = 0
        worddict['<UNK>'] = 1
        worddict['<S>'] = 1
        worddict['</S>'] = 1

be

        worddict['<PAD>'] = 0
        worddict['<UNK>'] = 1
        worddict['<S>'] = 2
        worddict['</S>'] = 3

changt avatar Jan 06 '19 00:01 changt