mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
14 lines
364 B
Python
14 lines
364 B
Python
![]() |
from opencompass.models import HuggingFacewithChatTemplate
|
||
|
|
||
|
models = [
|
||
|
dict(
|
||
|
type=HuggingFacewithChatTemplate,
|
||
|
abbr='llama-3_1-70b-instruct-hf',
|
||
|
path='meta-llama/Meta-Llama-3.1-70B-Instruct',
|
||
|
max_out_len=1024,
|
||
|
batch_size=8,
|
||
|
run_cfg=dict(num_gpus=4),
|
||
|
stop_words=['<|end_of_text|>', '<|eot_id|>'],
|
||
|
)
|
||
|
]
|