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
- Tool-call eval scorers no longer credit a JSON number as a boolean (#1755 by @Faisal-Fayaz in #1756).
tool_call_matchandtool_call_args_subsetcompared parsedargumentswith Python==, and Python hasboolas a subclass ofint: a model that answered{"enabled": 1}where the task expected{"enabled": true}scored1.0— full credit for a wrong answer, throughscore_taskandrun_evalalike. Both are valid JSON, and they are different arguments. Arguments are now compared with a_json_equalthat rules onboolbefore anything else, so a boolean and a number never match at any depth, while numbers stay equal across forms (1 == 1.0still matches, as before). It walks nested arguments through an explicit worklist rather than recursion, so an argument nested as deeply asjson.loadsaccepts is still scored instead of raising.tool_call_matchscores such a call0.0;tool_call_args_subsetkeeps its0.5function-name credit and gives no argument credit, so0.5, and its0.5matchedthreshold is unchanged. Scores recorded before this change can be higher than the same outputs score now, because a boolean/number substitution used to count as correct.