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(changelog): correct three v0.76.1 fragments (YAML caps, audit masking, Hub-id typo, translation stamps) (#1894)

Alpamys Makazhand5cb1a7e87a0
diff --git a/changelog.d/0.76.0/1825.changed.md b/changelog.d/0.76.0/1825.changed.md
index cbf4f647..9e8c2175 100644
--- a/changelog.d/0.76.0/1825.changed.md
+++ b/changelog.d/0.76.0/1825.changed.md
@@ -2,5 +2,6 @@
now describes v0.76.0 (#1825).** All four still described v0.75.0. The new text follows the
block in `README.md` bullet by bullet, with every inline code span, command, flag, config key,
URL, link target, number and benchmark file name kept identical; the prose is a machine-assisted
- draft for the translation maintainers to polish. The `synced-from` stamps are unchanged, because
- the section is exempt from them.
+ draft for the translation maintainers to polish. This change moves no `synced-from` stamp,
+ because the section is exempt from them; the stamps of the four files were re-taken by #1699 in
+ the same release.
diff --git a/changelog.d/0.76.0/1827.changed.md b/changelog.d/0.76.0/1827.changed.md
index 34b59972..635ae31b 100644
--- a/changelog.d/0.76.0/1827.changed.md
+++ b/changelog.d/0.76.0/1827.changed.md
@@ -1 +1 @@
-- soup.yaml and every other YAML file Soup reads are loaded under one set of limits (1 MiB, 100 levels of nesting, one node per byte plus 10,000 for anchors, aliases and merge keys; `soup ship`: 4 MiB); a file over a limit or one that cannot be read is refused with one line naming the file and the problem (#1827).
+- soup.yaml and every other YAML file Soup reads go through one loader that applies the same nesting and expansion limits (100 levels of nesting; one node per source byte plus 10,000 for anchors, aliases and merge keys, with merge keys chained at most 100 levels), and each reader keeps its own size cap: 1 MiB for the training-config readers and for readers that had no cap before, 256 KiB for recipes, `export --quant-config` files, RA-DIT configs and sweep files, 5 MiB for agent specs, 16 MiB for can manifests, 64 KiB for README frontmatter, 4 MiB for the config read by `soup ship`. A soup.yaml that is over a limit, cannot be read or is not valid YAML is refused with one line naming the file and the problem; the other readers report through their own handlers. The audit log now finds credential options from the command tree and also masks long options by name, so the values of `--slack-url` and `--discord-url` are masked and `--min-tokens`, a length threshold, is no longer masked (#1827).
diff --git a/changelog.d/0.76.0/1889.fixed.md b/changelog.d/0.76.0/1889.fixed.md
index 7bc52868..abfa7403 100644
--- a/changelog.d/0.76.0/1889.fixed.md
+++ b/changelog.d/0.76.0/1889.fixed.md
@@ -1 +1 @@
-- A single-string `data.train` that names a Hub dataset with a dot in its name (`teknium/OpenHermes-2.5`, `org/name.v1`) is now loaded from the Hub instead of failing with `Data file not found`: the loader read the dot as a file extension. A single string now takes the same route as the same name inside a `data.train` list: a supported file extension (`.jsonl`, `.json`, `.csv`, `.parquet`, `.txt`) means a local file, a `://` string a remote URI, anything else a Hub id (#1889).
+- A single-string `data.train` that names a Hub dataset with a dot in its name (`teknium/OpenHermes-2.5`, `org/name.v1`) is now loaded from the Hub instead of failing with `Data file not found`: the loader read the dot as a file extension. A single string now takes the same route as the same name inside a `data.train` list: a supported file extension (`.jsonl`, `.json`, `.csv`, `.parquet`, `.txt`) means a local file, a `://` string a remote URI, anything else a Hub id. A path with an unsupported suffix that does not exist (a typo such as `data/train.jsnol`) therefore goes to the Hub lookup too, instead of `Data file not found`, while an existing file with an unsupported suffix (`data.tsv`) still gets `Unsupported file format` (#1889).