hf_llama2_7b_chat.py 294 Bytes
Newer Older
1
from opencompass.models import HuggingFacewithChatTemplate
Fengzhe Zhou's avatar
Fengzhe Zhou committed
2
3
4

models = [
    dict(
5
        type=HuggingFacewithChatTemplate,
6
        abbr='llama-2-7b-chat-hf',
7
8
        path='meta-llama/Llama-2-7b-chat-hf',
        max_out_len=1024,
Fengzhe Zhou's avatar
Fengzhe Zhou committed
9
        batch_size=8,
10
        run_cfg=dict(num_gpus=1),
Fengzhe Zhou's avatar
Fengzhe Zhou committed
11
12
    )
]