mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
16 lines
352 B
Python
16 lines
352 B
Python
![]() |
from opencompass.models import VLLM
|
||
|
|
||
|
models = [
|
||
|
dict(
|
||
|
type=VLLM,
|
||
|
abbr='qwen2-7b-vllm',
|
||
|
path='Qwen/Qwen2-7B',
|
||
|
model_kwargs=dict(tensor_parallel_size=1),
|
||
|
max_out_len=1024,
|
||
|
max_seq_len=8192,
|
||
|
batch_size=16,
|
||
|
generation_kwargs=dict(temperature=0),
|
||
|
run_cfg=dict(num_gpus=1),
|
||
|
)
|
||
|
]
|