OpenCompass/opencompass/configs/models/baichuan/hf_baichuan_m1_14b_base.py
Jin Ye 6097186a95
[Datasets] MedQA, ProteinLMBench; Add Models: huatuogpt, baichuanM1 (#2064)
* Add Datasets: MedQA, ProteinLMBench; Add Models: huatuogpt, baichuanM1

* Fix bugs for MedQA. Add info in dataset-index

* Add version code for MedQA and ProteinLMBench

* Add version code for MedQA and ProteinLMBench
2025-05-09 14:47:44 +08:00

15 lines
400 B
Python

import torch
from opencompass.models import HuggingFaceBaseModel
models = [
dict(
type=HuggingFaceBaseModel,
abbr='baichuan-m1-14b-base-hf',
path='baichuan-inc/Baichuan-M1-14B-Base',
max_out_len=1024,
batch_size=8,
model_kwargs=dict(device_map='auto', trust_remote_code=True, torch_dtype=torch.bfloat16),
run_cfg=dict(num_gpus=1),
)
]