arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.21631cs.CLcs.LG
收藏

CuratorKIT:用于LLM后训练的数据策展与合成数据生成

CuratorKIT : Data Curation and Synthetic Data Generation for LLM Post-Training

Lexsi Labs(Lexsi实验室)

Soham Bhattacharjee, Karun Sharma, Vinay Kumar Sankarapu, Pratinav Seth

AI总结:

提出开源库CuratorKIT,集成数据摄取、去重、合成生成和质量过滤的全生命周期,通过可配置管道和可审计的样本溯源链提升后训练数据管道的透明度和可复现性。

摘要:

数据策展是大语言模型后训练管道中的关键部分,然而现有工具通常将数据摄取、去重、合成生成和质量过滤视为独立阶段。这种碎片化使得审计管道决策或理解单个样本为何被拒绝变得困难。CuratorKIT 是一个开源 Python 库,在单个可配置管道中覆盖整个生命周期。该框架由六个源格式读取器和自动模式检测、一个用于凭证、PII 和有毒内容的生成前数据卫生层、八个基于 LLM 的生成任务、三个带有来源精确幻觉验证的互补质量门控、结构化自适应恢复以及五个与 TRL、Unsloth 和 AlignTune 兼容的训练就绪导出格式组成。每个管道决策都记录在仅追加的每个样本溯源链中,被拒绝的样本带有结构化的失败原因,而不是被静默丢弃。CuratorKIT 通过 LiteLLM 支持 100 多个 LLM 提供商,提供 Python API 和 YAML 驱动的 CLI,专为需要可复现、可审计的大规模数据管道的实践者设计。

英文摘要:

Data curation is a critical part of post-training pipelines for large language models, yet existing tools often treat ingestion, deduplication, synthetic generation, and quality filtering as separate stages. This fragmentation makes it difficult to audit pipeline decisions or understand why individual samples are rejected. CuratorKIT is an open-source Python library that covers this full lifecycle in a single configurable pipeline. The framework is composed of six source format readers and automatic schema detection, a pre-generation data hygiene layer for credentials, PII, and toxic content, eight LLM-powered generation tasks, three complementary quality gates with provenance-exact hallucination verification, structured adaptive recovery, and five training-ready export formats compatible with TRL, Unsloth, and AlignTune. Every pipeline decision is recorded in an append-only per-sample provenance chain, and rejected samples carry structured failure reasons rather than being silently discarded. CuratorKIT supports 100+ LLM providers through LiteLLM, exposes both a Python API and a YAML-driven CLI, and is designed for practitioners who need reproducible, auditable data pipelines at scale .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑