Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.
Python cliconsumer-gpudpofine-tuningggufhuggingfacellmllmopslocal-ailocal-llmloralow-vrammachine-learningollamapeftpythonpytorchqlorasfttransformers
soup data validatecounts every row the loader skipped (not a JSON object, or not valid JSON) as an invalid row in itsN/M rows validline, in--min-valid-fractionand in the exit code: a file of only junk rows exits 2 ("no usable rows remain") with--formatand 3 without one, and[good, 42]is1/2 rows validand fails--min-valid-fraction 1.0. A file that is not empty but has no object row says how many rows were skipped instead of "Dataset is empty" (#1887 by @ndablizov in #1908)