技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
training-and-alignment【数据与研究】Route Align-Anything training modules, alignment algorithms, configs, datasets, launchers, and trainer troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks how to train, fine-tune, align, launch, configure, or debug Align-Anything trainer modules. It covers core trainer routing across text, image, audio, video, any-to-any, diffusion, Janus-aligned, and VLA/action flows.
Identify the requested modality and algorithm.
text_to_text/sft, text_image_to_text/dpo, text_audio_to_text/ppo, text_video_to_text/rm, text_to_image/dpo, any_to_any/sft, janus/dpo_gen, text_video_to_action/sft.Read references/training-workflows.md to select the trainer module, default config identifier, expected launcher, and required model/data arguments.
Read references/config-and-data.md before editing overrides, dataset templates, multi-dataset settings, prompt/preference data, diffusion data, Janus tokenized data, or VLA data.
Prefer the bundled launch template instead of copying repository shell scripts:
bash scripts/launch_training_template.sh --dry-run
If a config or override is unclear, inspect it with:
python scripts/inspect_alignment_config.py --task text_to_text/sft --show --templates
If a launch/import/model/data failure appears, read references/troubleshooting.md before changing trainer code.
train_cfgs, data_cfgs, model_cfgs, logger_cfgs, LoRA, QLoRA/BnB, DeepSpeed ZeRO, torchrun, Slurm, ZERO_STAGE_FILE, or CLI overrides.ppo_remote_rm trainer wiring.project-workflows first, then return here to launch core trainer modules.deepspeed.init_distributed() and should usually be launched with deepspeed or torchrun; diffusion trainers use Accelerate internals and are safest under torchrun or accelerate launch.--model_name_or_path, --train_datasets, --train_template, --output_dir, --learning_rate. Avoid category-prefixed overrides unless you have inspected the current override parser.CUDA_HOME is absent; distinguish an import warning from a launch-time CUDA extension build or fused optimizer failure.When handing a training plan to execution, include:
deepspeed, torchrun, accelerate, or Slurm wrapper) and GPU/world-size assumptions.references/troubleshooting.md.