hf_codellama_70b_python.py 286 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
from opencompass.models import HuggingFaceBaseModel

models = [
    dict(
        type=HuggingFaceBaseModel,
        abbr='CodeLlama-70b-Python',
        path='codellama/CodeLlama-70b-Python-hf',
        max_out_len=1024,
        batch_size=8,
        run_cfg=dict(num_gpus=4),
    )
]