OpenCompass/opencompass/configs/datasets/s3eval/s3eval_gen_b8ac80.py
Songyang Zhang 46cc7894e1
[Feature] Support import configs/models/summarizers from whl (#1376)
* [Feature] Support import configs/models/summarizers from whl

* Update LCBench configs

* Update

* Update

* Update

* Update

* update

* Update

* Update

* Update

* Update

* Update
2024-08-01 00:42:48 +08:00

18 lines
523 B
Python

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.s3eval import S3EvalDataset, S3EvalEvaluator
s3eval_cfg = dict(evaluator=dict(type=S3EvalEvaluator))
s3eval_datasets = [
dict(
type=S3EvalDataset,
abbr='s3eval',
path='FangyuLei/s3eval',
eval_cfg=s3eval_cfg)
]