[Feature] Add MultiPL-E & Code Evaluator#1963
Merged
tonysy merged 4 commits intoopen-compass:mainfrom Mar 21, 2025
Merged
Conversation
Collaborator
Zhudongsheng75
commented
Mar 20, 2025
- Developed a client/server-based code evaluator;
- Based on this code evaluator, the MultiPL-E dataset has been added. Currently, OC can support evaluation tasks in multiple programming languages.
Collaborator
tonysy
requested changes
Mar 21, 2025
| multiple_infer_cfg = dict( | ||
| prompt_template=dict(type=PromptTemplate, template='Based on the provided {language} code snippet, complete the subsequent content. The initial part of the completed code must match the provided code snippet exactly:\n{prompt}'), | ||
| retriever=dict(type=ZeroRetriever), | ||
| inferencer=dict(type=GenInferencer, max_out_len=2048), |
Collaborator
There was a problem hiding this comment.
Please consider removing this max_out_len to avoid the truncation for the long cot decoding scenario.
| change num_repeats>1, otherwise the number in | ||
| `.cache/dataset_size.json` might be inconsistent. | ||
|
|
||
| Args: |
stephen-nju
pushed a commit
to stephen-nju/opencompass
that referenced
this pull request
May 14, 2025
* multiple_code develop * multiple_code update * comments upadate * index upadate
zyc140345
pushed a commit
to zyc140345/opencompass
that referenced
this pull request
Oct 23, 2025
* multiple_code develop * multiple_code update * comments upadate * index upadate
iamkaia
pushed a commit
to iamkaia/opencompass
that referenced
this pull request
Feb 4, 2026
* multiple_code develop * multiple_code update * comments upadate * index upadate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.