OpenCompass/configs/models/phi/hf_phi_3_medium_4k_instruct.py

13 lines
308 B
Python

from opencompass.models import HuggingFacewithChatTemplate
models = [
dict(
type=HuggingFacewithChatTemplate,
abbr='phi-3-medium-4k-instruct-hf',
path='microsoft/Phi-3-medium-4k-instruct',
max_out_len=1024,
batch_size=8,
run_cfg=dict(num_gpus=2),
)
]