hf_yi_6b_chat.py 328 Bytes
Newer Older
1
from opencompass.models import HuggingFacewithChatTemplate
2
3
4

models = [
    dict(
5
        type=HuggingFacewithChatTemplate,
6
7
        abbr='yi-6b-chat-hf',
        path='01-ai/Yi-6B-Chat',
8
        max_out_len=1024,
9
        batch_size=8,
10
        run_cfg=dict(num_gpus=1),
bittersweet1999's avatar
bittersweet1999 committed
11
        stop_words=['<|endoftext|>', '<|im_end|>'],
12
13
    )
]