hf_llama2_70b.py 272 Bytes
Newer Older
1
from opencompass.models import HuggingFaceBaseModel
Leymore's avatar
Leymore committed
2
3
4

models = [
    dict(
5
        type=HuggingFaceBaseModel,
Leymore's avatar
Leymore committed
6
        abbr='llama-2-70b-hf',
7
8
        path='meta-llama/Llama-2-70b-hf',
        max_out_len=1024,
Leymore's avatar
Leymore committed
9
        batch_size=8,
10
        run_cfg=dict(num_gpus=4),
Leymore's avatar
Leymore committed
11
12
    )
]