mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
[Fix] Fix typo in WSC prompt (#520)
Co-authored-by: wq.chu <wq.chu@tianrang-inc.com>
This commit is contained in:
parent
e2355a2ede
commit
229a65f305
@ -1,4 +1,4 @@
|
||||
from mmengine.config import read_base
|
||||
|
||||
with read_base():
|
||||
from .SuperGLUE_WSC_gen_8a881c import WSC_datasets # noqa: F401, F403
|
||||
from .SuperGLUE_WSC_gen_fe4bf3 import WSC_datasets # noqa: F401, F403
|
||||
|
@ -17,7 +17,7 @@ WSC_infer_cfg = dict(
|
||||
dict(
|
||||
role="HUMAN",
|
||||
prompt=
|
||||
"{text}\nIs '{span1}' and '{span2}' refers to the same entity in the above sentence?\nA. Yes\nB. No\nAnseer:"
|
||||
"{text}\nIs '{span1}' and '{span2}' refers to the same entity in the above sentence?\nA. Yes\nB. No\nAnswer:"
|
||||
),
|
||||
]),
|
||||
),
|
@ -17,7 +17,7 @@ WSC_infer_cfg = dict(
|
||||
dict(
|
||||
role="HUMAN",
|
||||
prompt=
|
||||
"Passage: {text}\nDoes the pronoun # {span2} # refer to * {span1} *?\nA. Yes\nB. No\nAnseer:"
|
||||
"Passage: {text}\nDoes the pronoun # {span2} # refer to * {span1} *?\nA. Yes\nB. No\nAnswer:"
|
||||
),
|
||||
]),
|
||||
),
|
@ -1,4 +1,4 @@
|
||||
from mmengine.config import read_base
|
||||
|
||||
with read_base():
|
||||
from .SuperGLUE_WSC_ppl_cbf31c import WSC_datasets # noqa: F401, F403
|
||||
from .SuperGLUE_WSC_ppl_1c4a90 import WSC_datasets # noqa: F401, F403
|
||||
|
@ -17,7 +17,7 @@ WSC_infer_cfg = dict(
|
||||
dict(round=[
|
||||
dict(
|
||||
role="HUMAN",
|
||||
prompt="Passage: {text}\nDoes the pronoun # {span2} # refer to * {span1} *?\nA. Yes\nB. No\nAnseer: "
|
||||
prompt="Passage: {text}\nDoes the pronoun # {span2} # refer to * {span1} *?\nA. Yes\nB. No\nAnswer: "
|
||||
),
|
||||
dict(role='BOT', prompt='A'),
|
||||
]),
|
||||
@ -25,7 +25,7 @@ WSC_infer_cfg = dict(
|
||||
dict(round=[
|
||||
dict(
|
||||
role="HUMAN",
|
||||
prompt="Passage: {text}\nDoes the pronoun # {span2} # refer to * {span1} *?\nA. Yes\nB. No\nAnseer: "
|
||||
prompt="Passage: {text}\nDoes the pronoun # {span2} # refer to * {span1} *?\nA. Yes\nB. No\nAnswer: "
|
||||
),
|
||||
dict(role='BOT', prompt='B'),
|
||||
]),
|
@ -33,7 +33,7 @@ with read_base():
|
||||
from ..SuperGLUE_RTE.SuperGLUE_RTE_gen_68aac7 import RTE_datasets
|
||||
from ..SuperGLUE_ReCoRD.SuperGLUE_ReCoRD_gen_30dea0 import ReCoRD_datasets
|
||||
from ..SuperGLUE_WiC.SuperGLUE_WiC_gen_d06864 import WiC_datasets
|
||||
from ..SuperGLUE_WSC.SuperGLUE_WSC_gen_6dc406 import WSC_datasets
|
||||
from ..SuperGLUE_WSC.SuperGLUE_WSC_gen_7902a7 import WSC_datasets
|
||||
from ..race.race_gen_69ee4f import race_datasets
|
||||
from ..Xsum.Xsum_gen_31397e import Xsum_datasets
|
||||
from ..gsm8k.gsm8k_gen_1d7fe4 import gsm8k_datasets
|
||||
|
@ -24,7 +24,7 @@ with read_base():
|
||||
from ..SuperGLUE_RTE.SuperGLUE_RTE_gen_68aac7 import RTE_datasets
|
||||
from ..SuperGLUE_ReCoRD.SuperGLUE_ReCoRD_gen_30dea0 import ReCoRD_datasets
|
||||
from ..SuperGLUE_WiC.SuperGLUE_WiC_gen_d06864 import WiC_datasets
|
||||
from ..SuperGLUE_WSC.SuperGLUE_WSC_gen_8a881c import WSC_datasets
|
||||
from ..SuperGLUE_WSC.SuperGLUE_WSC_gen_fe4bf3 import WSC_datasets
|
||||
from ..race.race_gen_69ee4f import race_datasets
|
||||
from ..math.math_gen_265cce import math_datasets
|
||||
from ..gsm8k.gsm8k_gen_1d7fe4 import gsm8k_datasets
|
||||
|
Loading…
Reference in New Issue
Block a user