计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
naflex-generative【效率与协作】Use open_clip NaFlex variable-resolution image/audio pipelines and NaFlex GenLIP/GenLAP generative workflows safely.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task mentions NaFlex, --use-naflex, variable image resolution/aspect batching, variable-duration NaFlex audio, NaFlexDataConfig, patch dictionaries, NaFlex CLIP/CLAP, naflexgenlip*, naflexgenlap*, generative image/audio captioning, GenLIP zero-shot scoring, attentive probes, or caption-token budget planning.
../model-inference/SKILL.md.../training/SKILL.md and return here only for NaFlex-specific batches, schedules, or loss scaling.../audio-clap/SKILL.md.../evaluation-conversion/SKILL.md.--use-naflex, --force-naflex-vision, --naflex-patch-sizes, --naflex-seq-lens, token budgets, batch divisors, pad multiples, and --naflex-loss-scale.NaFlexDataConfig, create_naflex_data_config_from_args, create_naflex_eval_transform, NaFlexBatcher, WebDataset/CSV NaFlex wiring, and dict batch schemas.patches, patch_coord, patch_valid, and optional scheduled seq_len.force_naflex_vision for compatible native ViT and timm EVA/ViT towers.scripts/naflex_config_report.py for config validation and scripts/genlip_scoring_args.py for cost/planning reports without loading checkpoints or reading datasets.encode_text cosine similarity.references/naflex-data.md for parser flags, config defaults, dict schemas, token-budget scheduling, variable text, and eval transform requirements.references/generative-workflows.md for GenLIP/GenLAP model/task behavior, generative zero-shot scoring, attentive probes, and caption-stat workflows.references/conversion.md before using --force-naflex-vision or loading dense/timm checkpoints into NaFlex vision towers.references/troubleshooting.md when NaFlex imports, eval transforms, schedules, patch dicts, variable text, or GenLIP scoring fail.python scripts/naflex_config_report.py --patch-sizes 16 --seq-lens 128 256 --max-tokens-per-batch 16384 or python scripts/genlip_scoring_args.py --templates simple --num-images 200 --score-batch 512 to sanity-check user-supplied settings before expensive runs.--use-naflex enables the NaFlex data pipeline and implies --force-naflex-vision for ordinary image models, but GenLIP, GenLAP, and NaFlexCLAP set use_naflex without forcing image-tower conversion.aug_cfg={"use_timm": True, "naflex": True} or use CLI --use-naflex; otherwise create_naflex_eval_transform rejects the transform.image["patches"], image["patch_coord"], image["patch_valid"], plus scheduler image["seq_len"] in train batches.audio; patch_coord is (freq, time), with full-height strips treated as 1-D time RoPE for GenLAP.[media_patches ; caption_tokens]; use text_valid for variable/padded text and do not expect contrastive image_features @ text_features semantics.--naflex-loss-scale only affects NaFlex dict batches and scales by actual local batch size relative to --batch-size: none, linear, or sqrt.This sub-skill distills behavior from NaFlex config/data modules, conversion modules, GenLIP/GenLAP modules/tasks, GenLIP research probe scripts, and NaFlex/GenLIP/GenLAP tests. It is self-contained for runtime use; reopen repository source only when refreshing the skill for new code changes.