OpenCompass/configs/models/chatglm/vllm_chatglm3_6b.py

14 lines
318 B
Python

from opencompass.models import VLLMwithChatTemplate
models = [
dict(
type=VLLMwithChatTemplate,
abbr='chatglm3-6b-vllm',
path='THUDM/chatglm3-6b',
max_out_len=1024,
batch_size=16,
model_kwargs=dict(tensor_parallel_size=1),
run_cfg=dict(num_gpus=1),
)
]