OpenCompass/opencompass/configs/models/deepseek/hf_deepseek_v2_lite_chat.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

18 lines
461 B
Python

from opencompass.models import HuggingFacewithChatTemplate
models = [
dict(
type=HuggingFacewithChatTemplate,
abbr='deepseek-v2-lite-chat-hf',
path='deepseek-ai/DeepSeek-V2-Lite-Chat',
max_out_len=1024,
batch_size=4,
model_kwargs=dict(
device_map='sequential',
torch_dtype='torch.bfloat16',
attn_implementation='eager'
),
run_cfg=dict(num_gpus=2),
)
]