2024-03-04 11:22:03 +08:00
|
|
|
from mmengine.config import read_base
|
|
|
|
|
|
|
|
with read_base():
|
2025-01-20 19:17:38 +08:00
|
|
|
from opencompass.configs.datasets.lveval.lveval import \
|
|
|
|
LVEval_datasets as datasets
|
2024-08-22 14:48:45 +08:00
|
|
|
from opencompass.configs.models.bluelm.hf_bluelm_7b_chat_32k import models
|
|
|
|
from opencompass.configs.summarizers.lveval import summarizer
|
2024-03-04 11:22:03 +08:00
|
|
|
|
2025-01-20 19:17:38 +08:00
|
|
|
models[0]['path'] = '/path/to/your/huggingface_models/BlueLM-7B-Chat-32K'
|
2024-03-04 11:22:03 +08:00
|
|
|
models[0][
|
2025-01-20 19:17:38 +08:00
|
|
|
'tokenizer_path'] = '/path/to/your/huggingface_models/BlueLM-7B-Chat-32K'
|
2024-05-14 15:35:58 +08:00
|
|
|
models[0]['max_seq_len'] = 32768
|
|
|
|
models[0]['generation_kwargs'] = dict(do_sample=False)
|
|
|
|
models[0]['mode'] = 'mid' # truncate in the middle
|