hf_internlm_7b.py 268 Bytes
Newer Older
1
from opencompass.models import HuggingFaceBaseModel
Leymore's avatar
Leymore committed
2
3
4
5


models = [
    dict(
6
        type=HuggingFaceBaseModel,
Leymore's avatar
Leymore committed
7
        abbr='internlm-7b-hf',
Leymore's avatar
Leymore committed
8
        path="internlm/internlm-7b",
9
        max_out_len=1024,
Leymore's avatar
Leymore committed
10
        batch_size=8,
11
        run_cfg=dict(num_gpus=1),
Leymore's avatar
Leymore committed
12
13
    )
]