OpenCompass/configs/models/baichuan/hf_baichuan2_7b_base.py

13 lines
283 B
Python
Raw Normal View History

from opencompass.models import HuggingFaceBaseModel
models = [
dict(
type=HuggingFaceBaseModel,
abbr='baichuan2-7b-base-hf',
path='baichuan-inc/Baichuan2-7B-Base',
max_out_len=1024,
batch_size=8,
run_cfg=dict(num_gpus=1),
)
]