OpenCompass/configs/models/gemma/hf_gemma_2b_it.py

13 lines
279 B
Python
Raw Normal View History

from opencompass.models import HuggingFacewithChatTemplate
2024-03-04 14:42:36 +08:00
models = [
dict(
type=HuggingFacewithChatTemplate,
2024-03-04 14:42:36 +08:00
abbr='gemma-2b-it-hf',
path='google/gemma-2b-it',
max_out_len=1024,
2024-03-04 14:42:36 +08:00
batch_size=8,
run_cfg=dict(num_gpus=1),
2024-03-04 14:42:36 +08:00
)
]