[FT] More general approach than output_regex
to model answer extraction
#360
Labels
feature request
New feature/request
output_regex
to model answer extraction
#360
Hi there!
Currently, we can specify an
output_regex
in the task config to extract the model answer from its generated content. This config option is used inapply_generative_metrics
.We could replace
output_regex
with an answer extractor object that performs arbitary operations to extract the answer. For example, that of MMLU-Pro is as follows:The text was updated successfully, but these errors were encountered: