mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
15 lines
382 B
Python
15 lines
382 B
Python
![]() |
from opencompass.models import VLLMwithChatTemplate
|
||
|
|
||
|
models = [
|
||
|
dict(
|
||
|
type=VLLMwithChatTemplate,
|
||
|
abbr='qwen2.5-14b-instruct-vllm',
|
||
|
path='Qwen/Qwen2.5-14B-Instruct',
|
||
|
model_kwargs=dict(tensor_parallel_size=2),
|
||
|
max_out_len=4096,
|
||
|
batch_size=16,
|
||
|
generation_kwargs=dict(temperature=0),
|
||
|
run_cfg=dict(num_gpus=2),
|
||
|
)
|
||
|
]
|