Run the eval lab on Linux and document the steps

Ouverte
#20 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
55/100
Type d'issue
Documentation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
node.js, typescript

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
TypeScript
Étoiles
11
Forks
0
Merge moyen
10 min
PR mergées (30 j)
6

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de DojoCodingLabs/hermit

Toutes les issues de DojoCodingLabs/hermit

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.