[Docs] new_dataset.md update#1827
Merged
MaiziXiao merged 3 commits intoopen-compass:mainfrom Jan 17, 2025
Merged
Conversation
MaiziXiao
reviewed
Jan 16, 2025
| dict( | ||
| abbr=f'lukaemon_mmlu_{_name}', | ||
| type=MMLUDataset, | ||
| path='opencompass/mmlu', |
MaiziXiao
reviewed
Jan 16, 2025
Comment on lines
+71
to
+80
| - 接着,需要在`opencompass/utils/datasets_info.py`中创建对应名称的字典字段。如果用户已将数据集托管到huggingface或modelscope,那么请在`DATASETS_MAPPING`字典中添加对应名称的字段,并将对应的huggingface或modelscope数据集地址填入`ms_id`和`hf_id`;另外,还允许指定一个默认的`local`地址。具体示例如下: | ||
|
|
||
| ```python | ||
| "opencompass/mmlu": { | ||
| "ms_id": "opencompass/mmlu", | ||
| "hf_id": "opencompass/mmlu", | ||
| "local": "./data/mmlu/", | ||
| } | ||
| ``` | ||
|
|
Contributor
There was a problem hiding this comment.
用户需要在 load 函数中实现根据不同的环境变量切换数据源的操作,具体可以参考 cmmlu 中的实现
https://github.com/open-compass/opencompass/blob/main/opencompass/datasets/cmmlu.py。
stephen-nju
pushed a commit
to stephen-nju/opencompass
that referenced
this pull request
May 14, 2025
* create new branch * docs new_dataset.md zh * docs new_dataset.md zh and en
zyc140345
pushed a commit
to zyc140345/opencompass
that referenced
this pull request
Oct 23, 2025
* create new branch * docs new_dataset.md zh * docs new_dataset.md zh and en
iamkaia
pushed a commit
to iamkaia/opencompass
that referenced
this pull request
Feb 4, 2026
* create new branch * docs new_dataset.md zh * docs new_dataset.md zh and en
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.
No description provided.