Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support model-bound prediction postprocessor, use it in Claude #268

Merged
merged 4 commits into from
Aug 25, 2023

Conversation

gaotongxiao
Copy link
Contributor

Motivation

Different models have different output styles, sometimes it's hard to share a universal postprocessor across all the models, which may underestimate some outlier's performance.

Modification

This PR adds a pred_postprocessor parameter to model's config, where users can customize postprocessors with respect to each datasets via a dataset_abbreviation -> postprocessor construction dict. The configuration from model side has the higher priority over the dataset-side.

BC-breaking (Optional)

None

@Leymore Leymore merged commit f480b72 into open-compass:main Aug 25, 2023
1 check passed
@gaotongxiao gaotongxiao deleted the multi_postprocess branch August 28, 2023 02:56
go-with-me000 pushed a commit to go-with-me000/opencompass that referenced this pull request Oct 9, 2023
…compass#268)

* [Feature] Support model-bound text postprocessor, add claude as an example

* update

* update

* minor fix

---------

Co-authored-by: zhoufengzhe <zhoufengzhe@pjlab.org.cn>
liuyaox pushed a commit to liuyaox/opencompass that referenced this pull request Jun 26, 2024
…ude (open-compass#268)

* [Feature] Support model-bound text postprocessor, add claude as an example

* update

* update

* minor fix

---------

Co-authored-by: zhoufengzhe <zhoufengzhe@pjlab.org.cn>
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