mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00

* 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>
15 lines
308 B
Python
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|>
|
|
|
|
""",
|
|
}
|