OpenCompass/configs/datasets/s3eval/s3eval_gen_370cc2.py

18 lines
516 B
Python
Raw Normal View History

from opencompass.openicl.icl_prompt_template import PromptTemplate
from opencompass.openicl.icl_retriever import FixKRetriever
from opencompass.openicl.icl_inferencer import GenInferencer
from opencompass.openicl.icl_evaluator import AccEvaluator
from opencompass.datasets import S3EvalDataset, S3EvalEvaluator
s3eval_cfg = dict(evaluator=dict(type=S3EvalEvaluator))
s3eval_datasets = [
dict(
type=S3EvalDataset,
2024-05-14 15:35:58 +08:00
abbr='s3eval',
path='FangyuLei/s3eval',
eval_cfg=s3eval_cfg)
2024-05-14 15:35:58 +08:00
]