OpenCompass/configs/models/qwen/hf_qwen_1_8b_chat.py

13 lines
283 B
Python
Raw Normal View History

from opencompass.models import HuggingFacewithChatTemplate
2023-12-07 20:29:00 +08:00
models = [
dict(
type=HuggingFacewithChatTemplate,
2023-12-07 20:29:00 +08:00
abbr='qwen-1.8b-chat-hf',
path='Qwen/Qwen-1_8B-Chat',
max_out_len=1024,
2023-12-07 20:29:00 +08:00
batch_size=8,
run_cfg=dict(num_gpus=1),
2023-12-07 20:29:00 +08:00
)
]