TransformerBaseSharedEmbeddings

class opennmt.models.TransformerBaseSharedEmbeddings(*args, **kwargs)[source]

Defines a base Transformer model with shared embeddings as described in https://arxiv.org/abs/1706.03762.

Inherits from: opennmt.models.Transformer