OpenCompass/opencompass/configs/models/opt/hf_opt_125m.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
247 B
Python

from opencompass.models import HuggingFaceBaseModel
opt125m = dict(
type=HuggingFaceBaseModel,
abbr='opt-125m-hf',
path='facebook/opt-125m',
max_out_len=1024,
batch_size=64,
run_cfg=dict(num_gpus=1),
)
models = [opt125m]