Run the eval lab on Linux and document the steps

Abierto
#20 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
node.js, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
TypeScript
Estrellas
11
Forks
0
Merge medio
10 min
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DojoCodingLabs/hermit

Todos los issues de DojoCodingLabs/hermit

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.