π TitleΒΆ
Note
ID: templates.qa.multiple_choice.title | Type: MultipleChoiceTemplate
{
"__type__": "multiple_choice_template",
"choices_separator": "\n",
"input_format": "Question:\n{question}\nChoices:\n{choices}",
"instruction": "Answer the multiple choice Question based on the Choices (choose from {numerals}).",
"postprocessors": [
"processors.to_string_stripped",
"processors.first_character"
],
"target_field": "answer",
"target_prefix": "Answer:\n"
}
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.first_character, processors.to_string_stripped
Read more about catalog usage here.