hf_mistral_7b_v0_2.py 285 Bytes
Newer Older
1
from opencompass.models import HuggingFaceBaseModel
Fengzhe Zhou's avatar
Fengzhe Zhou committed
2
3
4
5


models = [
    dict(
6
        type=HuggingFaceBaseModel,
Fengzhe Zhou's avatar
Fengzhe Zhou committed
7
        abbr='mistral-7b-v0.2-hf',
8
9
        path='mistral-community/Mistral-7B-v0.2',
        max_out_len=1024,
Fengzhe Zhou's avatar
Fengzhe Zhou committed
10
        batch_size=8,
11
        run_cfg=dict(num_gpus=1),
Fengzhe Zhou's avatar
Fengzhe Zhou committed
12
13
    )
]