OpenCompass/configs/models/hf_internlm/hf_internlm2_5_7b_chat.py
Songyang Zhang 409a042d93
[Feature] Add InternLM2.5 (#1286)
* [Feature] Add InternLM2.5

* Update

* update readme

---------

Co-authored-by: zhangsongyang <zhangsongyang@pjlab.org.cn>
Co-authored-by: Leymore <zfz-960727@163.com>
2024-07-04 20:10:31 +08:00

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|>'],
)
]