π Lm Eval HarnessΒΆ
templates.qa.multiple_choice.with_context.no_intro.pt.lm_eval_harness
type: MultipleChoiceTemplate
input_format: "{context}\n{question}\n{choices}\nResposta:"
target_field: answer
choices_separator: "\n"
target_choice_format: {choice_numeral}
postprocessors:
- 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.first_character
Read more about catalog usage here.