OpenCompass/configs/models/hf_internlm/hf_internlm2_7b.py
2024-05-14 15:35:58 +08:00

14 lines
270 B
Python

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