OpenCompass/configs/models/hf_internlm/vllm_internlm2_chat_1_8b.py

14 lines
340 B
Python
Raw Normal View History

from opencompass.models import VLLMwithChatTemplate
models = [
dict(
type=VLLMwithChatTemplate,
abbr='internlm2-chat-1.8b-vllm',
path='internlm/internlm2-chat-1_8b',
model_kwargs=dict(tensor_parallel_size=1),
max_out_len=1024,
batch_size=32768,
run_cfg=dict(num_gpus=1),
)
]