repro.data.output_writers.sacrerouge#

class repro.data.output_writers.sacrerouge.SacreROUGEOutputWriter#

Writes a jsonl file that is compatible for scoring with SacreROUGE. Each object includes an instance_id, summarizer_id (equal to the model name), summarizer_type (equal to “peer”), and summary (equal to the prediction). If the instance includes a reference, it will be included as well