Replies: 3 comments 1 reply
-
Most of our fewshot example are fixed inside the prompt template of each dataset config , you could refer to https://opencompass.readthedocs.io/zh-cn/latest/prompt/prompt_template.html for details. The dynamic few-shot are under |
Beta Was this translation helpful? Give feedback.
-
还想问下使用如下的默认方式,是zero-shot的还是N-shot呢 run.py --datasets ceval_ppl cmmlu_ppl \
--hf-path ./Baichuan2-7B-Base \
--tokenizer-path ./Baichuan2-7B-Base \
--model-kwargs device_map='auto' trust_remote_code=True torch_dtype=torch.bfloat16 \
--tokenizer-kwargs use_fast=False trust_remote_code=True \
--max-out-len 100 \
--max-seq-len 4096 \
--batch-size 8 \
--no-batch-padding \
--num-gpus 1
|
Beta Was this translation helpful? Give feedback.
-
看了下源码,应该是固定的5-shot的模式,不知道我理解的对不对 |
Beta Was this translation helpful? Give feedback.
-
如题,翻了下官方文档,似乎没有明确的引导
Beta Was this translation helpful? Give feedback.
All reactions