Traceback (most recent call last):


 "predict.py", line 96, in <module>

p = predictor.predict(i)


 "venv/lib/python3.6/site-packages/allennlp/predictors/seq2seq.py", line 17, in predict

return self.predict_json({"source" : source})


 "/venv/lib/python3.6/site-packages/allennlp/predictors/predictor.py", line 56, in predict_json

return self.predict_instance(instance)


 "/venv/lib/python3.6/site-packages/allennlp/predictors/predictor.py", line 93, in predict_instance

outputs = self._model.forward_on_instance(instance)


 "/venv/lib/python3.6/site-packages/allennlp/models/model.py", line 124, in forward_on_instance

return self.forward_on_instances([instance])[0]


 "/venv/lib/python3.6/site-packages/allennlp/models/model.py", line 153, in forward_on_instances

outputs = self.decode(self(**model_input))


 "/venv/lib/python3.6/site-packages/allennlp/models/encoder_decoders/simple_seq2seq.py", line 247, in decode

predicted_indices = output_dict["predictions"]
KeyError: 'predictions'

Traceback (most recent call last):

 "C:\Anaconda3\lib\logging\__init__.py", line 994, in emit
msg = self.format(record)

 "C:\Anaconda3\lib\logging\__init__.py", line 840, in format
return fmt.format(record)

 "C:\Anaconda3\lib\logging\__init__.py", line 577, in format
record.message = record.getMessage()

 "C:\Anaconda3\lib\logging\__init__.py", line 338, in getMessage
msg = msg % self.argsValueError: incomplete format