πŸ“„ passiveΒΆ

Note

ID: templates.summarization.abstractive.passive | Type: InputOutputTemplate

{
    "input_format": "The following {document_type} is to be summarized into one sentence: {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’).

References: processors.take_first_non_empty_line

Read more about catalog usage here.