Skip to content

armgit / Soup

Public Imported from GitHub
0

Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.

docs(contributors): fix Bakdaulet's entry, the first-contribution text for #1489 was missing

Alpamysaae7508e88f6
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 5a1ced0a..9043ec3e 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -695,7 +695,7 @@ Listed by first contribution. PR numbers link the work.
- First contribution: ten real-`train()` tests were still skipped on every windows-latest cell under #382, although #1314 had traced the crash to CPU bf16/fp16 matmuls and the skip helper's docstring still blamed bitsandbytes for all of them. Nine now request `aten_half_matmuls` and the tenth, an fp32 run, just loses its skip. **The part worth copying is the guard that keeps the list honest**: a `FIXTURE_TESTS` check fails if any of the nine stops requesting the fixture, and, after review, if one both requests it and carries the skip again. `GUARDED_TESTS` shrinks to the two NF4 tests that really are the bitsandbytes crash, with the reason written next to the list. They flagged that their own CPU probably never hits `0xc000001d`, so the windows-latest cells are the real test, and the required run on their first head was green on all three with every one of the ten tests passing. 6 of 8 mutations fail a named test, one is caught by an existing test elsewhere, and the new guard file fails 9 on `main` ([#1359](https://github.com/MakazhanAlpamys/Soup/issues/1359), [#1401](https://github.com/MakazhanAlpamys/Soup/pull/1401))
- **Bakdaulet** ([@bakdauletbaktygaliyev](https://github.com/bakdauletbaktygaliyev))
- - **Bakdaulet** ([@bakdauletbaktygaliyev](https://github.com/bakdauletbaktygaliyev))
+ - First contribution: `soup diagnose` scored a probe that never ran as OK 1.00, so the overall verdict, the exit code and the badge all read it as a pass: a `--dataset` of ShareGPT or plaintext rows gave overall OK / exit 0, a 9000-character prompt turned a MAJOR into OK, and a `--tokenizer` typo exited 0 with a green badge. They added a `NOT_RUN` verdict (score 0.0 only, ranked between MINOR and MAJOR, grey, exit 3 unless `--allow-not-run`, MAJOR still wins), kept the exception text in the evidence, resolved `--tokenizer` before any model loads, and found two consumers nobody asked about, `train --diagnose-gate` and the MCP `diagnose_evidence` tool, both fixed through one shared `evidence_default_score` helper. **The part worth copying is what they did with review**: a second round showed memorization still reading OK 1.00 on `question`/`answer`, `query`/`response` and `input`/`output` rows and only two of six converted `except` sites pinned by a test; they took the guard, added a parametrized test over all six probe sites and three memorization shapes, tightened both, and named the gap they left on purpose rather than hiding it. The 175 tests in the two touched files fail 39 on clean main and pass on the branch; 19 of 20 mutations of the new logic fail a test, including the four sites that survived the first round ([#1435](https://github.com/MakazhanAlpamys/Soup/issues/1435), [#1489](https://github.com/MakazhanAlpamys/Soup/pull/1489))
- **Ashutosh Panda** ([@Ashutosh-Panda2004](https://github.com/Ashutosh-Panda2004))
- First contribution: a completed `task: ppo` run reported `Loss: unavailable` because the loss summary only read the `loss` key while trl 0.29's PPOTrainer logs its per-step policy loss as `loss/policy_avg`. The fix lets the trainer declare the key (`loss_key="loss/policy_avg"`, SFT/DPO output unchanged), records it in the result and shows it in the completion panel; after review the wiring is pinned by a behavioural test that drives `_train_builtin` on a trl-0.29-shaped `log_history`, so moving the key to the wrong call or summarising an empty history now fails. 9 new tests (6 fail on `main`), 11 of 11 mutations killed ([#1413](https://github.com/MakazhanAlpamys/Soup/issues/1413), [#1416](https://github.com/MakazhanAlpamys/Soup/pull/1416))