计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
sft-and-pretraining【效率与协作】Guides agents creating Axolotl SFT and continual pretraining configs, LoRA or QLoRA recipes, preprocessing workflows, checkpoint resumes, sample packing, and stability triage.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to fine-tune with Axolotl using supervised fine-tuning, adapt a pretraining recipe, create a LoRA or QLoRA starter config, debug SFT/pretraining loss behavior, reason about checkpoint resume fields, or decide whether to run preprocessing before training.
Axolotl is config-driven: produce or edit a YAML config first, validate it, then use the same config with axolotl preprocess, axolotl train, axolotl inference, and axolotl merge-lora as appropriate.
axolotl preprocess before expensive runs, output_dir, checkpoints, resume, dataset_prepared_path, and SFT/pretraining stability triage.data-and-configs.preference-tuning or rl-and-rewards.model-loading-and-adapters.distributed-and-performance.cli-and-operations.datasets, non-streaming pretraining via datasets: [{type: completion}], or streaming pretraining via pretraining_dataset.base_model, dataset source/type, output_dir, sequence/batch settings, optimizer/LR, precision, checkpoint fields, and adapter fields when needed.axolotl preprocess <config.yaml> for non-streaming data when you want to validate tokenization, label masking, or reusable dataset_prepared_path before training.axolotl preprocess <config.yaml> --debug when label masking, chat template behavior, or empty/overlong examples are suspected.axolotl train <config.yaml> in the user’s prepared Axolotl environment.For a starter YAML, use:
python sub-skills/sft-and-pretraining/scripts/make_minimal_sft_config.py \
--base-model NousResearch/Llama-3.2-1B \
--dataset-path ./chat.jsonl \
--dataset-type chat_template \
--adapter qlora \
--output-dir ./outputs/chat-qlora
The helper only writes YAML to standard output or to a requested file; it does not inspect models, access the network, load datasets, or train.