技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
finetuning【数据与研究】Guide InternLM-XComposer supervised finetuning, data manifests, runnable launchers, DeepSpeed configs, LoRA settings, and adapter merge.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for supervised finetuning of InternLM-XComposer family models, especially the 2.5 training path. It covers:
data.json and data.txt preparation for text-only, single-image, and multi-image samples;finetune.py entrypoint;merge_peft_adapter.py merge planning;Route non-training tasks to sibling sub-skills:
model-inference;reward-model;evaluation-and-projects;omnilive.conversations in actual JSON examples and loader code.<ImageHere>; multi-image samples should keep one <ImageHere> token per image, in order.<ImageHere> on image-bearing samples.scripts/validate_finetune_data.py.scripts/render_finetune_command.py when planning only.entrypoints/xcomposer25/ instead of relying on source checkout files.entrypoints/xcomposer25/merge_peft_adapter.py aligned with references/workflows.md.references/troubleshooting.md before changing batch size, hd_num, max_length, or backend flags.references/data-formats.mdreferences/workflows.mdreferences/training-arguments.mdreferences/troubleshooting.mdSafe planners/validators:
scripts/validate_finetune_data.pyscripts/render_finetune_command.pyRunnable self-contained entrypoints:
entrypoints/xcomposer25/finetune.pyentrypoints/xcomposer25/data_mix.pyentrypoints/xcomposer25/ixc_utils.pyentrypoints/xcomposer25/ds_config_zero2.jsonentrypoints/xcomposer25/launch_full.shentrypoints/xcomposer25/launch_lora.shentrypoints/xcomposer25/merge_peft_adapter.pyentrypoints/xcomposer25/data.txt and entrypoints/xcomposer25/data/ source-format fixturesRead entrypoints/xcomposer25/README.md before running any entrypoint. These files are real training/merge entrypoints and will import torch/Transformers/DeepSpeed/PEFT, load checkpoints, and write outputs when executed.