OpenCompass/opencompass/utils/postprocessors/xfinder/xfinder_utils/PROMPT_TEMPLATE.py
liushz 00fc8da5be
[Feature] Add model postprocess function (#1484)
* Add model postprocess function

* Add model postprocess function

* Add model postprocess function

* Add model postprocess function

* Add model postprocess function

* Add model postprocess function

* Add model postprocess function

* Add model postprocess function

---------

Co-authored-by: liushz <liuhongwei@pjlab.rog.cn>
2024-09-05 21:10:29 +08:00

15 lines
308 B
Python

PROMPT_TEMPLATE = {
'xFinder-qwen1505':
"""<|System|>:{system}
<|User|>:{input}
<|Bot|>:""",
'xFinder-llama38it':
"""<|start_header_id|>system<|end_header_id|>
{system}<|eot_id|><|start_header_id|>user<|end_header_id|>
{input}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
""",
}