lm_eval_harness
Note
ID: catalog.templates.qa.multiple_choice.context.es.lm_eval_harness | Type: MultipleChoiceTemplate
{
"choices_seperator": "\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.