mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00

* [Feature] Support import configs/models/summarizers from whl * Update LCBench configs * Update * Update * Update * Update * update * Update * Update * Update * Update * Update
16 lines
360 B
Python
16 lines
360 B
Python
from opencompass.models import VLLM
|
|
|
|
models = [
|
|
dict(
|
|
type=VLLM,
|
|
abbr='qwen1.5-1.8b-vllm',
|
|
path='Qwen/Qwen1.5-1.8B',
|
|
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),
|
|
)
|
|
]
|