Skip to main content
在 Manus 中运行任何 Skill
一键导入

ml-data-prep

星标0
分支0
更新时间2026年5月22日 02:18

Prepare SFT/chat datasets for training: convert between alpaca / sharegpt / openai-messages formats, check data quality, and verify tokenization & packing correctness — the framework-neutral data layer that serves any downstream trainer. Catches the silent failures that don't error but quietly hurt the model: empty/duplicate/malformed samples, answers truncated at max_len, wrong label masking (training on the prompt), missing EOS (model won't stop), double-BOS, and packing without a block-diagonal mask (cross-document contamination). Use when the user mentions: dataset format conversion, alpaca, sharegpt, openai messages / jsonl, data quality, dedup, length distribution, truncation, chat template, tokenize, packing, padding, label mask, loss mask, attention mask, preparing data for SFT/fine-tuning, LLaMA-Factory / axolotl / trl data format. Triggers: "数据格式", "格式转换", "alpaca", "sharegpt", "messages", "数据质量", "去重", "截断", "chat template", "packing", "label mask", "tokenize", "数据清洗", "微调数据", "训练数据准备".

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
12 个文件
SKILL.md
readonly