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): #2013 [skip ci]

Alpamys908dd8b81779
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 5b89cf35..ae0388f9 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -253,6 +253,7 @@ Listed by first contribution. PR numbers link the work.
- Took #1427 on the plan agreed on the issue after the earlier claim was released: `soup data pii`, `toxicity`, `score`, `langdetect`, `educational` and `decontaminate` read only `text`/`content`, so alpaca, DPO, KTO and ShareGPT rows were scanned as empty and reported clean, and a `{prompt}` benchmark file removed nothing. They moved the `soup expect` multi-format extractor verbatim into `utils/row_text.py` (old private names kept as aliases), made the six commands warn with a count and refuse when no row has text, and documented it in `docs/data.md`. **The part worth copying is how the one finding closed**: review found that an input with zero usable rows was newly refused (exit 1, it was exit 0) with no test, and `if rows and missing == len(rows)` left all 47 tests green; they added 18 CLI cases (three zero-row inputs by six commands) with the file's own helpers plus a docs sentence, and that mutation now fails all 18. 65 tests pass plain and under `FORCE_COLOR`, 55 fail on the merge-base, and 19 of 20 mutants across two rounds are caught (the twentieth, `not rows or`, is equivalent); the MCP `data score` tool gets the broader extractor but still reports clean totals for rows without text ([#1427](https://github.com/MakazhanAlpamys/Soup/issues/1427), [#2037](https://github.com/MakazhanAlpamys/Soup/pull/2037))
- The gate `soup ci init` writes ran `soup data validate` with its permissive default, so a file with one valid row and nine broken ones passed the data step. It now passes `--min-valid-fraction 1.0`, while the validator's own default stays as #811 decided. **The tests take the command out of the rendered YAML and run the real CLI** on 1/10, 9/10 and 10/10 valid files, a quoted file name and a skipped-record file; removing the flag fails 6 of the 10 new tests and the other 4 are controls ([#2055](https://github.com/MakazhanAlpamys/Soup/issues/2055), [#2079](https://github.com/MakazhanAlpamys/Soup/pull/2079))
- Closed #2090, which found that a preference file with a `messages` prompt was auto-detected as ChatML, silently dropped `chosen` and `rejected`, passed `soup train --dry-run`, and failed only after the model loaded with `KeyError('chosen')`. They made `format: auto` resolve to the pair converter for the preference tasks in `data_config_for_task` and added a guard that refuses converted train or validation rows without `prompt`, `chosen` and `rejected` before any trainer is built, for both `--dry-run` and a real run, with a message naming the loaded format and `data.format: dpo`. **The part worth copying is that the tests were written for the spellings, not the example**: string and message-list answers, a system turn or none, `prompt` and `messages` together, a mixed file, all seven tasks, `auto` written and omitted, plus the SFT and KTO controls. 118 new tests; five mutations (task-blind pick, dry-run guard, real-train guard, validation split, all-rows-dropped branch) each fail named tests ([#2090](https://github.com/MakazhanAlpamys/Soup/issues/2090), [#2093](https://github.com/MakazhanAlpamys/Soup/pull/2093))
+ - Made the CLI work with both a standalone Click and the Click newer Typer releases vendor: one compatibility layer for the command, exception and `ParameterSource` lookups, a nightly-only `typer-vendored` CI job pinned to Typer 0.27.3 / Click 8.4.2, and floor-job cases. **The part worth copying is the CI shape**: the new lane runs on schedule and dispatch only, so pull requests pay nothing for it, and its gate is pinned by a test that four mutations of the condition fail; the one macOS failure (`/var` -> `/private/var`) came back with a test that reproduces it on POSIX ([#1803](https://github.com/MakazhanAlpamys/Soup/issues/1803), [#2013](https://github.com/MakazhanAlpamys/Soup/pull/2013))
- **AmixDigital** ([@Amix29](https://github.com/Amix29))
- Added native Sesame CSM fine-tuning for transcript/audio pairs, training the backbone and depth decoder while keeping the Mimi codec frozen; documented supported inputs, refusals and the scoped Apple Silicon evidence ([#265](https://github.com/MakazhanAlpamys/Soup/issues/265), [#1769](https://github.com/MakazhanAlpamys/Soup/pull/1769)).