hmc-cs-mdrissi / neural_nets_research

A collection of projects for neural nets research in Mehdi's research group.
MIT License
7 stars 1 forks source link

Construct Decoder Class that optionally contains Embeddings #8

Open AliengirlLiv opened 6 years ago

AliengirlLiv commented 6 years ago

Currently, the embedding for the encoder is inside the encoder while the embedding for the decoder is inside the sequence to sequence model. The embedding being present in the decoder would make it easier to turn it on/off and this is particularly relevant given tree to seq wants embeddings in the decoder while tree to seq anc does not want decoder embeddings.