OpenCompass/opencompass/configs/models/hf_llama/hf_llama2_7b_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

13 lines
294 B
Python

from opencompass.models import HuggingFacewithChatTemplate
models = [
dict(
type=HuggingFacewithChatTemplate,
abbr='llama-2-7b-chat-hf',
path='meta-llama/Llama-2-7b-chat-hf',
max_out_len=1024,
batch_size=8,
run_cfg=dict(num_gpus=1),
)
]