Skip to content

Explorer-Dong/llm-eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM Eval

本项目集成一些用于评估 LLM 能力的 benchmark。下表验证了本项目维护的 benchmark 的有效性:

Qwen3.6-27B (official / ours) Qwen3.6-35B-A3B (official / ours)
AIME26 94.1 / 93.3 92.7 / 96.7
GPQA Diamond 87.8 / 86.4 86.0 / 83.6
NL2Repo 36.2 / - 29.4 / -

环境配置

同步环境:

git clone https://github.com/Explorer-Dong/llm-eval
cd llm-eval
uv sync
source .venv/bin/activate

下载数据集:

hf download MathArena/aime_2026 \
  --repo-type=dataset \
  --local-dir data/aime26 \
  --max-workers 4

hf download fingertap/GPQA-Diamond \
  --repo-type=dataset \
  --local-dir data/gpqa_diamond \
  --max-workers 4

开始评估

所有的结果保存在 output/<time>_<benchmark>_<model> 文件夹。

AIME26

python src/main.py \
  --benchmark aime26 \
  --model Qwen3.6-27B \
  --base-url <https://api.example.com>/v1 \
  --api-key <EMPTY> \
  --temperature 1.0 \
  --top-p 0.95 \
  --top-k 20 \
  --max-tokens 81920 \
  --num-workers 5 \
  --seed 42

GPQA Diamond

python src/main.py \
  --benchmark gpqa_diamond \
  --model Qwen3.6-27B \
  --base-url <https://api.example.com>/v1 \
  --api-key <EMPTY> \
  --temperature 1.0 \
  --top-p 0.95 \
  --top-k 20 \
  --max-tokens 81920 \
  --num-workers 4 \
  --seed 42

NL2Repo

作为独立项目维护在子目录下,移步 sandbox/nl2repo-bench/README.md 作进一步了解。

断点续评

对于非独立维护的 benchmark。如果需要复用上一次中断的评测结果,只需要删除对应任务的 predictions.jsonl 中的无效行,然后添加运行参数 --output-dir <path/to/log>--resume 重新运行即可。示例命令:

python src/main.py \
  --benchmark aime26 \
  --output-dir outputs/2026-07-02_22-32-25_aime26_Qwen-Qwen3.6-27B \
  --resume

About

LLM 评测集成 / Benchmark integration for LLM evalution

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages