πŸ“„ Flan 4ΒΆ

templates.classification.multi_class.relation.truthfulness.flan_4

type: InputOutputTemplate
input_format: input question: Is it true that \"{text_b}\" if \"{text_a}\" is true?
output_format: {label}
target_prefix: output answer:
postprocessors: 
  - processors.take_first_non_empty_line
  - processors.lower_case_till_punc
[source]

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 reference 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, processors.lower_case_till_punc

Read more about catalog usage here.