TransformerBigRelative

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

Defines a big Transformer model using relative position representations as described in https://arxiv.org/abs/1803.02155.

Inherits from: opennmt.models.Transformer