hf_codellama_34b_python.py 286 Bytes
Newer Older
1
from opencompass.models import HuggingFaceBaseModel
2
3
4

models = [
    dict(
5
        type=HuggingFaceBaseModel,
6
        abbr='CodeLlama-34b-Python',
7
        path='codellama/CodeLlama-34b-Python-hf',
8
9
        max_out_len=1024,
        batch_size=8,
10
11
        run_cfg=dict(num_gpus=2),
    )
12
]