OpenCompass/configs/models/gemma/hf_gemma_2b_it.py
Songyang Zhang 7c2d25b557
[Fix] Update SciCode and Gemma model (#1449)
* [Fix] Update SciCode and Gemma model

* Update

* Update
2024-08-23 10:42:27 +08:00

13 lines
279 B
Python

from opencompass.models import HuggingFacewithChatTemplate
models = [
dict(
type=HuggingFacewithChatTemplate,
abbr='gemma-2b-it-hf',
path='google/gemma-2b-it',
max_out_len=1024,
batch_size=1,
run_cfg=dict(num_gpus=1),
)
]