π Instruct One SentenceΒΆ
templates.summarization.abstractive.instruct_one_sentence
MultiReferenceTemplate(
instruction="Summarize the following text into one sentence.",
input_format="Text:
{document}
Summary:
",
references_field="summaries",
postprocessors=[
"processors.take_first_non_empty_line",
],
)
[source]References: processors.take_first_non_empty_line
Read more about catalog usage here.