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
generationRoutes GPT2-Chinese prompt-based text generation and batch sample export.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about generating text from a checkpoint with generate.py or generate_texts.py.
../references/workflows.md for the end-to-end generation flow.../references/cli-reference.md for the exact flags and output paths.../references/model-overview.md when you need to match a checkpoint to a vocabulary bundle.../references/troubleshooting.md and this sub-skill's troubleshooting file for loop, prompt, and sample-saving issues.../../scripts/check_install.py when you want to confirm the environment can instantiate the model and sample a token sequence.generate.py for interactive or single-prompt generation.generate_texts.py for batch generation by title list.--prefix, --length, --temperature, --topk, --topp, and --repetition_penalty.--save_samples or --save_path.generate.py.generate_texts.py.model_path or model_path should point at a saved checkpoint directory.tokenizer_path must match the config and checkpoint vocab size.[CLS]-prefixed prompt.--fast_pattern is the preferred smoke path.--topk, --topp, and --temperature shape the sampling distribution.--save_samples writes a samples.txt file.generate_texts.py writes one text file per generated article.--batch_size 1 and use a short length.nsamples versus batch_size first.samples.txt when --save_samples is used.<title-index>-<article-index>.txt files when generate_texts.py is used.