executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
trainingRoutes GPT2-Chinese corpus preprocessing, model training, checkpointing, and perplexity evaluation.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about training, fine-tuning, checkpointing, or perplexity evaluation in GPT2-Chinese.
../references/workflows.md for the end-to-end training and evaluation flow.../references/cli-reference.md for exact flags and defaults.../references/data-formats.md for the expected corpus and tokenized file shapes.../references/model-overview.md when choosing a config file or vocabulary bundle.../references/troubleshooting.md and this sub-skill's troubleshooting file for workflow-specific failures.../../scripts/check_install.py before the first training run.--raw.train.py for the normal multi-article corpus path.train_single.py for one long source document or a single concatenated corpus.eval.py for perplexity estimation on a trained checkpoint.--pretrained_model.--gradient_accumulation, --log_step, --stride, and --fp16.sub-skills/generation/SKILL.md.sub-skills/tokenization/SKILL.md.train.py.train_single.py.config/model_config_test.json for smoke checks.config/model_config_small.json plus cache/vocab_small.txt for the usual compact run.vocab_size and --tokenizer_path aligned.--raw tokenizes and shards the corpus before training.--raw.--pretrained_model when you want to continue from save_pretrained output.log_step must divide gradient_accumulation.fp16 needs Apex and a matching CUDA stack.train_single.py over forcing train.py to split the text.eval.py after the checkpoint is saved.output_dir/model_epochN/ after each epoch.output_dir/final_model/ after the training loop completes.tokenized_data_path when --raw is used.