Run the eval lab on Linux and document the steps

未关闭
#20 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃

调研方向

Read docs/evals.md, especially “The Mac lab,” and follow its model download and server steps on Linux. Run the core 40 and trajectory evaluation commands from packages/eval, recording the scores, model SHA-256, profile ID, llama-server version, system, and CPU. Document the Linux steps and any macOS differences in docs/evals.md; done when the tested steps and run results are reported in the pull request.

由索引模型根据 Issue 内容生成。

描述

docs help wanted

Why

AGENTS.md asks every change on the model path for eval numbers from before and after, but docs/evals.md walks through the lab on macOS only ("Elsewhere, build it from ggml-org/llama.cpp"). Tested Linux steps let more people produce those numbers, and check that accuracy carries over between machines running the same GGUF (ROADMAP.md, Now: the harness).

What to do

  1. On a Linux machine (x86_64 or arm64), get llama-server: a release build from ggml-org/llama.cpp, or one you build. Note its version (llama-server --version).

  2. Download the model at the pinned revision, as docs/evals.md shows in "The Mac lab", step 2, and check it with sha256sum instead of shasum -a 256. It must print 482db2dfdbc8ab7db3d3216fd8ef071d7381dd8547aff9933bc03312839d4d83.

  3. Start the server with the flags in step 3. Set -t to your performance cores.

  4. Run pnpm install at the repository root. Then, from packages/eval, run the core 40 with the shipped profile, and one trajectory seed:

    node --experimental-transform-types --no-warnings src/mac-eval.ts botpsy-q4-native-think256
    HERMIT_SEED=1 node --experimental-transform-types --no-warnings src/trajectory-eval.ts botpsy-q4-native-think256
    
  5. Add a short Linux part to "The Mac lab" in docs/evals.md: how you got llama-server, the sha256sum line, and anything that differed from macOS. Keep the macOS steps as they are.

Done when

  • docs/evals.md has Linux steps you ran yourself, start to finish.
  • The pull request shows, from your Linux run: the core 40 score, the trajectory score for seed 1, the model's SHA-256, the profile id, the llama-server version, and your system and CPU.
  • If a score differs from the published lab numbers (40/40 on the core set, and 120 of 120 trajectories over four seeds, so 30 of 30 per seed), the pull request says so plainly, and changes no code or case to make them match.

How to check

  • The commands above, on your machine.
  • The gates still pass: pnpm check:privacy && pnpm typecheck && pnpm lint && pnpm test. The eval package's own tests use a fake model, so they need no server.

Keep in mind

  • Docs only. No change to prompts, the router, the cases or the runners here.
  • One run at a time (docs/evals.md, rule 7). Lab timings are never phone timings.
  • You don't need the original blind sets for this, and nobody tunes on them.
  • No run logs, transcripts or paths from your machine in docs/evals.md: steps and numbers only.
主要语言
TypeScript
星标
11
派生
0
平均合并
10 分钟
30 天内合并 PR
6

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DojoCodingLabs/hermit 的其他 Issue

查看 DojoCodingLabs/hermit 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。