hf_codellama_7b_python.py 284 Bytes
Newer Older
1
from opencompass.models import HuggingFaceBaseModel
2
3
4

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