allennlp.predictors.seq2seq#

Seq2SeqPredictor#

Seq2SeqPredictor(self, model:allennlp.models.model.Model, dataset_reader:allennlp.data.dataset_readers.dataset_reader.DatasetReader) -> None

Predictor for sequence to sequence models, including ComposedSeq2Seq and SimpleSeq2Seq and CopyNetSeq2Seq.