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
ranking_nce_estimatorOptimize finite ranking NCE objectives and recover conditional distributions when partition functions vary by input.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when a recovery needs the ranking objective from conditional NCE. It computes the paper's candidate-set objective and can optimize a small finite protocol without relying on an original implementation repository.
Do not use this skill for binary data-vs-noise NCE; use binary_nce_estimator for that objective.
ConditionalNCEProtocol from conditional_nce_protocol.bar_s=s-log p_N.(K+1)-way softmax over the positive candidate and all negative candidates.p_hat(y|x).x1 ratio approaches 1/3.Run:
python /share/project/yuyang/workspace/Paper2Skills/Distiller/skills/module-to-skill/scripts/validate_skill_tree.py . --run-tests
The tests check objective finiteness, softmax normalization, and recovery of the Section 4.3 ratio.
The included optimizer is designed for deterministic small-support recovery. Large neural language-model training should use a real ML stack and treat this skill as a semantic reference for the objective.