January 2019
Intermediate to advanced
342 pages
9h 17m
English
The embeddings layer takes the index of an input word as an input and provides the word vector embeddings of the word as output. The dimension of the embeddings layer is Rd x V, where d is the dimensionality of the word vector embedding and V is the size of the vocabulary. The embeddings layers can learn the embeddings themselves based on the problem, or you can provide a pretrained embeddings layer. In our case, we will let the neural machine translation figure out what the embedding vectors should be for both the source and target language to achieve a good translation. As a result, each of our defined functions should change to accommodate the embeddings layer.
Read now
Unlock full access