diff --git a/configs/datasets/Kaoshi/Kaoshi_gen.py b/configs/datasets/kaoshi/kaoshi_gen.py similarity index 100% rename from configs/datasets/Kaoshi/Kaoshi_gen.py rename to configs/datasets/kaoshi/kaoshi_gen.py diff --git a/configs/datasets/Kaoshi/Kaoshi_gen_86aca2.py b/configs/datasets/kaoshi/kaoshi_gen_86aca2.py similarity index 100% rename from configs/datasets/Kaoshi/Kaoshi_gen_86aca2.py rename to configs/datasets/kaoshi/kaoshi_gen_86aca2.py index 441c8c9ee..4b3302649 100644 --- a/configs/datasets/Kaoshi/Kaoshi_gen_86aca2.py +++ b/configs/datasets/kaoshi/kaoshi_gen_86aca2.py @@ -1,7 +1,7 @@ +from opencompass.datasets import KaoshiDataset, KaoshiEvaluator +from opencompass.openicl.icl_inferencer import GenInferencer from opencompass.openicl.icl_prompt_template import PromptTemplate from opencompass.openicl.icl_retriever import ZeroRetriever -from opencompass.openicl.icl_inferencer import GenInferencer -from opencompass.datasets import KaoshiDataset, KaoshiEvaluator prompts = { "单选题" : "请你做一道单项选择题\n请你一步一步思考并将思考过程写在【解析】和之间。你将从A,B,C,D中选出正确的答案,并写在【答案】和之间,答案应只包含最终结果,不要添加额外词语。\n例如:【答案】: A \n完整的题目回答的格式如下:\n【解析】 ... \n【答案】 ... \n请你严格按照上述格式作答。\n题目如下:", diff --git a/opencompass/datasets/__init__.py b/opencompass/datasets/__init__.py index e316d735e..23cdf646d 100644 --- a/opencompass/datasets/__init__.py +++ b/opencompass/datasets/__init__.py @@ -35,7 +35,7 @@ from .humanevalx import * # noqa: F401, F403 from .iwslt2017 import * # noqa: F401, F403 from .jigsawmultilingual import * # noqa: F401, F403 -from .Kaoshi import * # noqa: F401, F403 +from .kaoshi import * # noqa: F401, F403 from .lambada import * # noqa: F401, F403 from .lcsts import * # noqa: F401, F403 from .LEval_coursera import * # noqa: F401, F403 diff --git a/opencompass/datasets/Kaoshi.py b/opencompass/datasets/kaoshi.py similarity index 100% rename from opencompass/datasets/Kaoshi.py rename to opencompass/datasets/kaoshi.py