技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
training【数据与研究】Training, configuration, data, checkpointing, PEFT, and sweep workflows for trlX Accelerate trainers.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to train or configure trlX with the public trlx.train API and Hugging Face Accelerate trainers.
reward_fn, prompts, optional prompt metadata, eval_prompts, metric_fn, and stop_sequences.samples plus rewards, including causal and seq2seq prompt/output samples.samples without rewards, including prompt/completion dialogue samples for causal models.TRLConfig objects, defaults, YAML configs, trainer/method/pipeline combinations, PEFT, optimizer/scheduler names, logging, checkpointing, resume, and Ray Tune sweeps.../nemo/SKILL.md.../../references/troubleshooting.md.trlx.train argument modes, config classes, registries, data pipeline contracts, model wrappers, and optimizer/scheduler names.update vs evolve, required sections, valid trainer/pipeline/method combinations, and Accelerate config notes.Use scripts/inspect_training_config.py to summarize a default or YAML config without launching training or downloading models:
python scripts/inspect_training_config.py --default ppo
python scripts/inspect_training_config.py --default ilql --json
python scripts/inspect_training_config.py --yaml path/to/config.yml
Resolve the script path relative to this SKILL.md before running it; the script itself does not rely on the current working directory.
reward_fn + prompts.samples + rewards.samples only.default_ppo_config(), default_ilql_config(), or default_sft_config() when possible.TRLConfig object or TRLConfig.load_yaml(...) for explicit YAML.RFTConfig with AccelerateRFTTrainer because no default RFT config factory is provided.accelerate launch; do not invoke NeMo workflows from this sub-skill.main(hparams={}), then use python -m trlx.sweep with a reviewed Ray search-space YAML.