OpenCompass/configs/models/hf_llama/hf_llama2_7b.py

13 lines
270 B
Python
Raw Normal View History

from opencompass.models import HuggingFaceBaseModel
models = [
dict(
type=HuggingFaceBaseModel,
abbr='llama-2-7b-hf',
path='meta-llama/Llama-2-7b-hf',
max_out_len=1024,
batch_size=8,
run_cfg=dict(num_gpus=1),
)
]