2023-12-10 13:29:26 +08:00
|
|
|
from opencompass.models import Mixtral
|
|
|
|
|
|
|
|
# Please follow the instruction in https://github.com/open-compass/MixtralKit
|
|
|
|
# to download the model weights and install the requirements
|
|
|
|
|
|
|
|
|
|
|
|
models = [
|
|
|
|
dict(
|
2024-05-14 15:35:58 +08:00
|
|
|
abbr='mixtral-8x7b-32k',
|
2023-12-10 13:29:26 +08:00
|
|
|
type=Mixtral,
|
2024-05-14 15:35:58 +08:00
|
|
|
path='./models/mixtral/mixtral-8x7b-32kseqlen',
|
|
|
|
tokenizer_path='./models/mixtral/mixtral-8x7b-32kseqlen/tokenizer.model',
|
2023-12-10 13:29:26 +08:00
|
|
|
max_out_len=100,
|
|
|
|
max_seq_len=2048,
|
|
|
|
batch_size=8,
|
|
|
|
num_gpus=2,
|
|
|
|
run_cfg=dict(num_gpus=2, num_procs=1),
|
|
|
|
),
|
2024-05-14 15:35:58 +08:00
|
|
|
]
|