class_docstr: Predictor for the :class:`~allennlp.models.encoder_decoder.simple_seq2seq` model.
code: def predict(self, source):
      return self.predict_json({"source": source})
  
file_path: magnitude/pymagnitude/third_party/allennlp/predictors/simple_seq2seq.py
imports: from __future__ import absolute_import
  from allennlp.common.util import JsonDict
  from allennlp.data import Instance
  from allennlp.predictors.predictor import Predictor
label_desc: Use image node_id 1 for calling the SimpleSeq2SeqPredictor obj's underlying member method code with example usage: obj.predict(source) and returns: self