π titleΒΆ
Note
ID: templates.completion.multiple_choice.title | Type: MultipleChoiceTemplate
{
"choices_separator": "\n",
"input_format": "{context_type}: {context}\nChoices:\n{choices}",
"instruction": "Pick the best ending to the {context_type}.",
"postprocessors": [
"processors.first_character"
],
"target_field": "answer",
"target_prefix": "Answer: ",
"title_fields": [
"context_type"
],
"type": "multiple_choice_template"
}
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
Read more about catalog usage here.