"sgl-router/src/router.rs" did not exist on "0fb88aaa77827d23b14fe64099121976adafce10"
hf_tigerbot_13b_base_v2.py 600 Bytes
Newer Older
Leymore's avatar
Leymore committed
1
2
3
4
5
6
from opencompass.models import HuggingFaceCausalLM


models = [
    dict(
        type=HuggingFaceCausalLM,
7
8
9
        abbr='tigerbot-13b-base-v2-hf',
        path='TigerResearch/tigerbot-13b-base',
        tokenizer_path='TigerResearch/tigerbot-13b-base',
Leymore's avatar
Leymore committed
10
11
12
        tokenizer_kwargs=dict(
            padding_side='left',
            truncation_side='left',
Leymore's avatar
Leymore committed
13
            trust_remote_code=True,
Leymore's avatar
Leymore committed
14
15
16
17
18
        ),
        max_out_len=100,
        max_seq_len=2048,
        batch_size=8,
        model_kwargs=dict(trust_remote_code=True, device_map='auto'),
19
20
        run_cfg=dict(num_gpus=2, num_procs=1),
    ),
Leymore's avatar
Leymore committed
21
]