mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00

* 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
14 lines
366 B
Python
14 lines
366 B
Python
from opencompass.models import HuggingFacewithChatTemplate
|
|
|
|
models = [
|
|
dict(
|
|
type=HuggingFacewithChatTemplate,
|
|
abbr='huatuogpt2-7b-hf',
|
|
path='FreedomIntelligence/HuatuoGPT2-7B',
|
|
max_out_len=1024,
|
|
batch_size=8,
|
|
model_kwargs=dict(device_map='auto', trust_remote_code=True),
|
|
run_cfg=dict(num_gpus=1),
|
|
)
|
|
]
|