mit einem Klick
ml-data-prep
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", "数据清洗", "微调数据", "训练数据准备".
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.