diff --git a/hw4/informed_seq2seq_predictor.py b/hw4/informed_seq2seq_predictor.py index bb67e5a70..4add2b982 100644 --- a/hw4/informed_seq2seq_predictor.py +++ b/hw4/informed_seq2seq_predictor.py @@ -23,4 +23,4 @@ def _json_to_instance(self, json_dict: JsonDict) -> Instance: """ source = json_dict["source"] extra = json_dict["extra"] - return self._dataset_reader.text_to_instance(source, extra_str=extra) + return self._dataset_reader.text_to_instance(source, extra_seq=extra)