Skip to content

Add ClinicBench, PubMedQA and ScienceQA#2061

Merged
MaiziXiao merged 5 commits intoopen-compass:mainfrom
xuxuxuxuxuxjh:ClinicBench
May 8, 2025
Merged

Add ClinicBench, PubMedQA and ScienceQA#2061
MaiziXiao merged 5 commits intoopen-compass:mainfrom
xuxuxuxuxuxjh:ClinicBench

Conversation

@xuxuxuxuxuxjh
Copy link
Copy Markdown
Contributor

@xuxuxuxuxuxjh xuxuxuxuxuxjh commented Apr 29, 2025

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.

Motivation

Text evaluation supporting ClinicBench, PubMedQA and ScienceQA.

Modification

Add the relevant code for the datasets of ClinicBench, PubMedQA and ScienceQA.

Checklist

Before PR:

  • [√] Pre-commit or other linting tools are used to fix the potential lint issues.
  • [√] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
  • [√] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • [√] The documentation has been modified accordingly, like docstring or example tutorials.

@xuxuxuxuxuxjh xuxuxuxuxuxjh changed the title Add ClinicBench Add ClinicBench, PubMedQA and ScienceQA May 7, 2025
@MaiziXiao
Copy link
Copy Markdown
Contributor

参考#2045 的 comments

@xuxuxuxuxuxjh
Copy link
Copy Markdown
Contributor Author

参考#2045 的 comments

已按照要求进行了修改。

  1. 修改了datasets_info.py和dataset-index.yml
  2. 在Dataset中使用了config 提供的 path
  3. 删除了Dataset中不用的 train 和 validation

Comment thread opencompass/utils/datasets_info.py Outdated
Comment on lines +449 to +463
"opencompass/ClinicBench": {
"ms_id": "",
"hf_id": "xuxuxuxuxu/Pharmacology-QA",
"local": "",
},
"opencompass/ScienceQA": {
"ms_id": "",
"hf_id": "derek-thomas/ScienceQA",
"local": "",
},
"opencompass/PubMedQA": {
"ms_id": "",
"hf_id": "qiaojin/PubMedQA",
"local": "",
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

只支持 hf 的 dataset 路径请直接写在 config 的路径中不用映射到opencompass/xxxx

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已修改。删除了datasets_info增加的内容,config的path直接使用了hf的路径。

Copy link
Copy Markdown
Contributor

@MaiziXiao MaiziXiao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MaiziXiao MaiziXiao merged commit 9ec23c1 into open-compass:main May 8, 2025
8 checks passed
stephen-nju pushed a commit to stephen-nju/opencompass that referenced this pull request May 14, 2025
* Add ClinicBench

* Add PubMedQA & ScienceQA & ClinicBench

* Add PubMedQA & ScienceQA & ClinicBench

* Update datasets_info & hf_path

* Update hf_path
zyc140345 pushed a commit to zyc140345/opencompass that referenced this pull request Oct 23, 2025
* Add ClinicBench

* Add PubMedQA & ScienceQA & ClinicBench

* Add PubMedQA & ScienceQA & ClinicBench

* Update datasets_info & hf_path

* Update hf_path
iamkaia pushed a commit to iamkaia/opencompass that referenced this pull request Feb 4, 2026
* Add ClinicBench

* Add PubMedQA & ScienceQA & ClinicBench

* Add PubMedQA & ScienceQA & ClinicBench

* Update datasets_info & hf_path

* Update hf_path
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.

3 participants