"training/configs/trainer/ddp.yaml" did not exist on "9bc63d1e2dd3eee8cf0307036e077a752bd79fde"
hf_qwen_7b_chat.py 279 Bytes
Newer Older
1
from opencompass.models import HuggingFacewithChatTemplate
2
3
4

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