OpenCompass/opencompass/configs/models/hf_internlm/vllm_internlm2_chat_7b.py
Songyang Zhang 46cc7894e1
[Feature] Support import configs/models/summarizers from whl (#1376)
* [Feature] Support import configs/models/summarizers from whl

* Update LCBench configs

* Update

* Update

* Update

* Update

* update

* Update

* Update

* Update

* Update

* Update
2024-08-01 00:42:48 +08:00

14 lines
336 B
Python

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