hf_falcon_7b.py 261 Bytes
Newer Older
1
from opencompass.models import HuggingFaceBaseModel
yingfhu's avatar
yingfhu committed
2
3
4

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