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:
- Select: which examples are included, via scoring rules, with revisitable choices
- Mix: how much each source contributes, adjustable across training stages
- Weight: change individual examples' loss contribution without removing them
- Reorder: when examples appear, enabling curriculum scheduling
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.
More from Research
- Three world models play a survival game, each predicting the ice and each other — yshan2u · 2026-12-06
- Open-source AV control guide adds kinematic bicycle model chapter with step-size error analysis — 4310sy · 2026-12-06
- How information flows through transformers: the residual stream and the K/V stream — repligate · 2026-12-06
- AI researcher: progress comes from finding which dimensions matter, not faster search — RileyRalmuto · 2026-12-06
- What building a GPT-style chatbot actually involves: five stages and one crucial distinction — jaspindersingh83 · 2026-12-06
- ANNA + Selective G-Bispectra lifts 4B LLM OOD length generalization from 0% to 35-56% — mayfer · 2026-12-06