OpenCompass/configs/models/hf_internlm/hf_internlm2_20b.py

14 lines
272 B
Python
Raw Normal View History

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