hf_llama_7b.py 263 Bytes
Newer Older
1
from opencompass.models import HuggingFaceBaseModel
cky's avatar
cky committed
2
3
4

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