OpenCompass/configs/models/codellama/hf_codellama_7b_instruct.py

13 lines
302 B
Python
Raw Normal View History

from opencompass.models import HuggingFacewithChatTemplate
models = [
dict(
type=HuggingFacewithChatTemplate,
abbr='CodeLlama-7b-Instruct',
path='codellama/CodeLlama-7b-Instruct-hf',
max_out_len=1024,
batch_size=8,
run_cfg=dict(num_gpus=1),
)
]