LstmCnnCrfTagger

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

Defines a bidirectional LSTM-CNNs-CRF as described in https://arxiv.org/abs/1603.01354.

Inherits from: opennmt.models.SequenceTagger

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.