[Feature] Update mathbench (#580)

* update xunfei api

* fix lint

* update mathbench to avoid incomplete prediction
This commit is contained in:
Songyang Zhang 2023-11-14 16:04:02 +08:00 committed by GitHub
parent 01a0f2f3c7
commit c8cb38e822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
from mmengine.config import read_base from mmengine.config import read_base
with read_base(): with read_base():
from .mathbench_gen_51000f import mathbench_datasets # noqa: F401, F403 from .mathbench_gen_10da90 import mathbench_datasets # noqa: F401, F403

View File

@ -89,7 +89,7 @@ for _split in list(mathbench_sets.keys()):
ice_token="</E>", ice_token="</E>",
), ),
retriever=dict(type=ZeroRetriever), retriever=dict(type=ZeroRetriever),
inferencer=dict(type=GenInferencer), inferencer=dict(type=GenInferencer, max_out_len=512,),
) )
mathbench_eval_cfg = dict( mathbench_eval_cfg = dict(