OpenCompass/opencompass/configs/models/qwq/qwq_32b.py
2025-03-13 14:02:36 +08:00

20 lines
519 B
Python

from opencompass.models import Qwen
api_meta_template = dict(round=[
dict(role='HUMAN', api_role='HUMAN'),
dict(role='BOT', api_role='BOT', generate=True),
], )
models = [
dict(
abbr='QwQ-32B',
type=Qwen,
path='qwq-32b',
key='ENV', # The key will be obtained from $OPENAI_API_KEY, but you can write down your key here as well
meta_template=api_meta_template,
query_per_second=1,
max_out_len=2048,
max_seq_len=4096,
batch_size=8),
]