OpenCompass/configs/models/hf_llama/hf_llama2_7b_chat.py

13 lines
294 B
Python
Raw Normal View History

from opencompass.models import HuggingFacewithChatTemplate
2023-12-25 21:59:16 +08:00
models = [
dict(
type=HuggingFacewithChatTemplate,
abbr='llama-2-7b-chat-hf',
path='meta-llama/Llama-2-7b-chat-hf',
max_out_len=1024,
2023-12-25 21:59:16 +08:00
batch_size=8,
run_cfg=dict(num_gpus=1),
2023-12-25 21:59:16 +08:00
)
]