π TitleΒΆ
templates.qa.multiple_choice.title
type: MultipleChoiceTemplate
instruction: Answer the multiple choice Question based on the Choices (choose from {numerals}).
input_format: "Question:\n{question}\nChoices:\n{choices}"
target_prefix: "Answer:\n"
target_field: answer
choices_separator: "\n"
postprocessors:
- processors.to_string_stripped
- processors.first_character
[source]Explanation about MultipleChoiceTemplateΒΆ
Formats the input (that specifies the question), the multiple choices to select the answer from, and specifies the field with the correct answer.
References: processors.to_string_stripped, processors.first_character
Read more about catalog usage here.