Modular training-data strategy: DataFlex composes Select, Mix, Weight and Reorder on LLaMA-Factory

Puzzleheaded_Box2842 · reddit · 2026-11-30

Training data is increasingly split into fine categories—code by language, math by difficulty, reasoning by task, tool use by interaction type—making any single fixed mixture hard to justify across a full training run. The authors propose a modular data-strategy layer with four composable operations:

Operations share a common interface and can be configured or extended, so one part of the data policy can change while keeping the rest of an experiment comparable. Implemented in OpenDCAI/DataFlex on top of LLaMA-Factory, with a verl-based version also available.

Original post →

More from Research

Research channel →