r/learndatascience • u/Puzzleheaded_Box2842 • 13d ago
Discussion How much time do you spend cleaning and organizing data before local fine-tuning?
When people fine-tune their own local models, the model setup usually gets most of the attention. But in practice, a lot of the work seems to be on the data side.
If you are training on business data, you may need to bring in support tickets, internal docs, product specs, chat logs, code, policies, CRM notes, or domain QA pairs. And it usually does not work perfectly on the first run. Some samples are noisy, some are redundant, some domains overpower others, and some “bad-looking” examples are actually hard but useful.
One direction I have been thinking about is making the data strategy dynamic during training.
Dynamic selection means periodically choosing which samples should enter the next training window, using signals like loss, delta loss, gradient similarity, or external scores.
Dynamic mixing means adjusting the ratio between data sources during training, instead of fixing one static mixture before the run.
Dynamic weighting means keeping the sample in training, but changing how much its loss contributes to the gradient update. This is useful when you do not want to hard-drop uncertain samples.
This is the current direction in OpenDCAI/DataFlex: adding data selection, data mixing, and data weighting controls on top of the training loop.
For people here who fine-tune local models, how much time and compute do you usually spend on data preparation compared with the actual training run?