OpenCompass/configs/models/qwen/vllm_qwen1_5_7b_chat.py
Fengzhe Zhou 8ea2c404d7
[Feat] enable HuggingFacewithChatTemplate with --accelerator via cli (#1163)
* enable HuggingFacewithChatTemplate with --accelerator via cli

* rm vllm_internlm2_chat_7b
2024-05-15 21:51:07 +08:00

14 lines
328 B
Python

from opencompass.models import VLLMwithChatTemplate
models = [
dict(
type=VLLMwithChatTemplate,
abbr='qwen1.5-7b-chat-vllm',
path='Qwen/Qwen1.5-7B-Chat',
model_kwargs=dict(tensor_parallel_size=1),
max_out_len=1024,
batch_size=32768,
run_cfg=dict(num_gpus=1),
)
]