OpenCompass/opencompass/configs/models/yi/hf_yi_1_5_9b.py
Songyang Zhang 46cc7894e1
[Feature] Support import configs/models/summarizers from whl (#1376)
* [Feature] Support import configs/models/summarizers from whl

* Update LCBench configs

* Update

* Update

* Update

* Update

* update

* Update

* Update

* Update

* Update

* Update
2024-08-01 00:42:48 +08:00

13 lines
260 B
Python

from opencompass.models import HuggingFaceBaseModel
models = [
dict(
type=HuggingFaceBaseModel,
abbr='yi-1.5-9b-hf',
path='01-ai/Yi-1.5-9B',
max_out_len=1024,
batch_size=8,
run_cfg=dict(num_gpus=1),
)
]