mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
14 lines
285 B
Python
14 lines
285 B
Python
![]() |
from opencompass.models import HuggingFaceBaseModel
|
||
|
|
||
|
|
||
|
models = [
|
||
|
dict(
|
||
|
type=HuggingFaceBaseModel,
|
||
|
abbr='mistral-7b-v0.2-hf',
|
||
|
path='mistral-community/Mistral-7B-v0.2',
|
||
|
max_out_len=1024,
|
||
|
batch_size=8,
|
||
|
run_cfg=dict(num_gpus=1),
|
||
|
)
|
||
|
]
|