Skip to content

add MaritimeBench dataset support for maritime domain evaluation - #2016

Closed
K-zhy wants to merge 3 commits into
open-compass:mainfrom
K-zhy:maritimebench
Closed

K-zhy wants to merge 3 commits into
open-compass:mainfrom
K-zhy:maritimebench

Conversation

@K-zhy

@K-zhy K-zhy commented Apr 10, 2025

Copy link
Copy Markdown
Contributor

✨ Add Support for MaritimeBench Dataset

This PR adds support for the MaritimeBench dataset in OpenCompass.

MaritimeBench is a professional evaluation set for the maritime industry, containing 1888 multiple-choice questions across the following domains:

  • Navigation
  • Marine Engineering
  • Electro-technical Officers
  • GMDSS
  • Crew Training

✅ This PR includes

  • Dataset configuration and loading for MaritimeBench
  • Custom pred_postprocessor for bracketed answer format (e.g., <A>)
  • Evaluation setup using AccEvaluator
  • Metadata registration in datasets_info.py

…ract 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.
Fixed the hf_id field of the maritimebench dataset to ensure it points to the correct Hugging Face repository.
@tonysy

tonysy commented Apr 11, 2025

Copy link
Copy Markdown
Collaborator

Currently, there are too many modifications. Please rebase the code with the latest commit.

@K-zhy

K-zhy commented Apr 14, 2025

Copy link
Copy Markdown
Contributor Author

Currently, there are too many modifications. Please rebase the code with the latest commit.

Thanks for the feedback! This PR has been replaced by a cleaner version here: #2018
Closing this one to avoid confusion.

@K-zhy K-zhy closed this Apr 14, 2025

This branch was previously deployed

1 inactive deployment
prod — f764ee33 Deployed Apr 11, 2025 by K-zhy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants