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

* add TheoremQA with 5-shot * add huggingface_above_v4_33 classes * use num_worker partitioner in cli * update theoremqa * update TheoremQA * add TheoremQA * rename theoremqa -> TheoremQA * update TheoremQA output path * rewrite many model configs * update huggingface * further update * refine configs * update configs * update configs * add configs/eval_llama3_instruct.py * add summarizer multi faceted * update bbh datasets * update configs/models/hf_llama/lmdeploy_llama3_8b_instruct.py * rename class * update readme * update hf above v4.33
28 lines
642 B
Python
28 lines
642 B
Python
from opencompass.models.turbomind import TurboMindModel
|
|
|
|
|
|
models = [
|
|
dict(
|
|
type=TurboMindModel,
|
|
abbr="internlm2-20b-turbomind",
|
|
path="internlm/internlm2-20b",
|
|
engine_config=dict(
|
|
session_len=32768,
|
|
max_batch_size=32,
|
|
model_name="internlm2-20b",
|
|
tp=2,
|
|
),
|
|
gen_config=dict(
|
|
top_k=1,
|
|
top_p=0.8,
|
|
temperature=1.0,
|
|
max_new_tokens=2000,
|
|
),
|
|
max_out_len=2000,
|
|
max_seq_len=32768,
|
|
batch_size=32,
|
|
concurrency=8,
|
|
run_cfg=dict(num_gpus=2, num_procs=1),
|
|
)
|
|
]
|