mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00

* add lveval benchmark * add LVEval readme file * update LVEval readme file * Update configs/eval_bluelm_32k_lveval.py * Update configs/eval_llama2_7b_lveval.py --------- Co-authored-by: yuantao <yuantao@infini-ai.com> Co-authored-by: Mo Li <82895469+DseidLi@users.noreply.github.com>
17 lines
543 B
Python
17 lines
543 B
Python
from mmengine.config import read_base
|
|
|
|
with read_base():
|
|
from .datasets.lveval.lveval import LVEval_datasets as datasets
|
|
from .models.bluelm.hf_bluelm_7b_chat_32k import models
|
|
from .summarizers.lveval import summarizer
|
|
|
|
models[0][
|
|
"path"
|
|
] = "/path/to/your/huggingface_models/BlueLM-7B-Chat-32K"
|
|
models[0][
|
|
"tokenizer_path"
|
|
] = "/path/to/your/huggingface_models/BlueLM-7B-Chat-32K"
|
|
models[0]["max_seq_len"] = 32768
|
|
models[0]["generation_kwargs"] = dict(do_sample=False)
|
|
models[0]["mode"] = "mid" # truncate in the middle
|