Run the eval lab on Linux and document the steps

Đang mở
#20 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
node.js, typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
11
Fork
0
Merge trung bình
10 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DojoCodingLabs/hermit

Tất cả issue của DojoCodingLabs/hermit

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.