π lm_eval_harnessΒΆ
Note
ID: templates.qa.multiple_choice.with_context.with_topic.es.lm_eval_harness | Type: MultipleChoiceTemplate
{
"choices_separator": "\n",
"input_format": "Las siguientes son preguntas de opciΓ³n mΓΊltiple (con respuestas) sobre {topic}.\n\n{context}\n{question}.\n{choices}.\nRespuesta:",
"postprocessors": [
"processors.first_character"
],
"target_choice_format": " {choice_numeral}",
"target_field": "answer",
"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.