hf_command_r_plus.py 295 Bytes
Newer Older
1
from opencompass.models import HuggingFacewithChatTemplate
2
3
4

models = [
    dict(
5
        type=HuggingFacewithChatTemplate,
6
        abbr='command-r-plus-hf',
7
8
        path='CohereForAI/c4ai-command-r-plus',
        max_out_len=1024,
9
        batch_size=8,
10
        run_cfg=dict(num_gpus=8),
11
12
    )
]