hf_qwen_1_8b_chat.py 283 Bytes
Newer Older
1
from opencompass.models import HuggingFacewithChatTemplate
2
3
4

models = [
    dict(
5
        type=HuggingFacewithChatTemplate,
6
        abbr='qwen-1.8b-chat-hf',
7
8
        path='Qwen/Qwen-1_8B-Chat',
        max_out_len=1024,
9
        batch_size=8,
10
        run_cfg=dict(num_gpus=1),
11
12
    )
]