hf_llama3_70b_instruct.py 360 Bytes
Newer Older
1
from opencompass.models import HuggingFacewithChatTemplate
2
3
4

models = [
    dict(
5
6
7
8
        type=HuggingFacewithChatTemplate,
        abbr='llama-3-70b-instruct-hf',
        path='meta-llama/Meta-Llama-3-70B-Instruct',
        max_out_len=1024,
9
        batch_size=8,
10
11
        run_cfg=dict(num_gpus=4),
        stop_words=['<|end_of_text|>', '<|eot_id|>'],
12
13
    )
]