ListenAttendSpell

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

Defines a model similar to the “Listen, Attend and Spell” model described in https://arxiv.org/abs/1508.01211.

Inherits from: opennmt.models.SequenceToSequence

auto_config(num_replicas=1)[source]

Returns automatic configuration values specific to this model.

Parameters

num_replicas – The number of synchronous model replicas used for the training.

Returns

A partial training configuration.