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

14 lines
272 B
Python

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),
)
]