Commit Graph

2 Commits

Author SHA1 Message Date
zhanghaoyu
a0bac8e604 feat(text_postprocessors): add parse_bracketed_answer function to extract answers enclosed in brackets
This function is designed to extract option answers enclosed in brackets from text, and replaces the use of first_option_postprocess in the MaritimeBench dataset. This change aims to support the answer format requirements of the MaritimeBench dataset and ensure that model outputs conform to the <option> format.
2025-04-10 16:04:42 +08:00
zhanghaoyu
b0bbd4a96a chore: fix line endings and formatting; add maritime_bench dataset 2025-04-10 13:40:28 +08:00