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
seq2seq-coupletRoutes training, inference, and Flask serving workflows for the TensorFlow seq2seq couplet project.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill for the TensorFlow seq2seq couplet repository. It covers the project's two user-facing workflows:
references/repo-provenance.md to check whether this skill still matches the
current checkout.references/dependencies.md for the verified runtime dependency set and the
legacy GPU notes.references/model-overview.md for the architecture and module map.references/troubleshooting.md for the common install, data, checkpoint,
and backend failures.references/licensing.md before redistributing or modifying the bundled
runtime copy.scripts/install_runtime_deps.py inside the target environment if the
runtime dependencies are missing.scripts/check_env.py to verify the bundled runtime copy, TensorFlow
smoke, and route definitions. Add --repo-root <checkout> only when you need
to compare a live checkout against the bundled copy.The verified dependency set is CPU-friendly and does not require CUDA for the bundled workflows. Legacy GPU acceleration needs TensorFlow 1.15 together with CUDA 10.0 and cuDNN 7, which are not bundled or required here.
| If the user wants... | Go here |
|---|---|
| Train the couplet model, continue a checkpoint, inspect loss or BLEU, or validate the line/vocab layout | sub-skills/training/SKILL.md |
| Generate couplets from a checkpoint, inspect beam scores, or expose the Flask API | sub-skills/inference/SKILL.md |
| Diagnose TensorFlow, protobuf, CUDA, checkpoint, or path issues | references/troubleshooting.md |
scripts/couplet_runtime.py holds the common path handling, tiny-fixture, and
inference helpers used by the bundled scripts.scripts/install_runtime_deps.py installs the verified runtime package set
into the active Python environment.scripts/check_env.py confirms imports and the TensorFlow smoke without
importing the legacy long-running server module.<s> and </s> in that order.reader.py tokenizes on spaces, appends </s> to the input, and prepends
<s> plus </s> to the target side.seq2seq.py builds a bidirectional LSTM encoder, Bahdanau attention decoder,
and beam-search inference path.model.py manages the training, evaluation, and inference graphs.server.py is the legacy Flask surface; the bundled inference scripts provide
the same behavior with explicit paths and safer startup.libcudart or libcudnn warnings, the CPU path
is still usable; the legacy GPU path is simply unavailable.For details on the per-workflow commands, continue into the relevant sub-skill.