"vscode:/vscode.git/clone" did not exist on "2ce8793519af044f88b9c9372d7b353037204323"
internlm_7b.py 340 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from opencompass.models import InternLM


models = [
    dict(
        type=InternLM,
        path="./internData/",
        tokenizer_path='./internData/V7.model',
        model_config="./internData/model_config.py",
        max_out_len=100,
        max_seq_len=2048,
        batch_size=16,
        run_cfg=dict(num_gpus=1, num_procs=1))
]