fix bench

This commit is contained in:
bio-mlhui 2025-05-29 05:56:33 +00:00
parent 37be7655f5
commit 31f26c6a83

View File

@ -1,4 +1,4 @@
from opencompass.datasets import HealthBenchDataset, HealthBenchEvaluator, HealthBenchDatasetMeta
from opencompass.datasets import HealthBenchDataset, HealthBenchEvaluator
from opencompass.openicl.icl_inferencer import ChatInferencer
from opencompass.openicl.icl_prompt_template import PromptTemplate
from opencompass.openicl.icl_retriever import ZeroRetriever
@ -12,6 +12,7 @@ reader_cfg = dict(
output_column='prompt_id', # useless
)
infer_cfg = dict(
prompt_template=dict(
type=PromptTemplate,