write_succinct

Note

ID: catalog.templates.summarization.abstractive.write_succinct | Type: InputOutputTemplate

{
    "input_format": "Write a succinct summary of the following {document_type}: {document}.",
    "output_format": "{summary}",
    "postprocessors": [
        "processors.take_first_non_empty_line"
    ],
    "type": "input_output_template"
}

Explanation about InputOutputTemplate

Generate field ‘source’ from fields designated as input, and fields ‘target’ and ‘references’ from fields designated as output, of the processed instance.

Args specify the formatting strings with which to glue together the input and output designated fields of the processed instance into one string (‘source’ and ‘target’), and into a list of strings (‘references’).