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

* [Feature] Add InternLM2.5 * Update * update readme --------- Co-authored-by: zhangsongyang <zhangsongyang@pjlab.org.cn> Co-authored-by: Leymore <zfz-960727@163.com>
14 lines
340 B
Python
14 lines
340 B
Python
from opencompass.models import HuggingFacewithChatTemplate
|
|
|
|
models = [
|
|
dict(
|
|
type=HuggingFacewithChatTemplate,
|
|
abbr='internlm2_5-7b-chat-hf',
|
|
path='internlm/internlm2_5-7b-chat',
|
|
max_out_len=1024,
|
|
batch_size=8,
|
|
run_cfg=dict(num_gpus=1),
|
|
stop_words=['</s>', '<|im_end|>'],
|
|
)
|
|
]
|