视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
modeling-and-tokenization【文档与办公】Use when inspecting ColBERT checkpoints, ColBERTConfig model/tokenizer fields, QueryTokenizer or DocTokenizer behavior, query/document max lengths, marker tokens, punctuation masking, embedding dimensions, or safe model/tokenizer import diagnostics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when an agent needs to reason about ColBERT model checkpoints, tokenizer behavior, config compatibility, text-to-token tensorization, or query/document embedding shapes before indexing, searching, or training.
Checkpoint(name, colbert_config=None, verbose=3) loading behavior and checkpoint.colbert_config values.ColBERTConfig fields such as query_maxlen, doc_maxlen, dim, mask_punctuation, attend_to_mask_tokens, query_token_id, or doc_token_id.QueryTokenizer and DocTokenizer insert [Q] and [D] markers, truncate text, pad queries with [MASK], and return IDs/masks.Checkpoint.queryFromText() and Checkpoint.docFromText() output shapes, to_cpu, keep_dims, return_tokens, and packed document outputs.references/modeling-and-tokenization.md for the conceptual model, checkpoint/config merge behavior, marker tokens, tokenization, and embedding outputs.references/config-reference.md before changing shape-sensitive fields such as query_maxlen, doc_maxlen, or dim.references/api-reference.md for verified imports, constructor signatures, tensorizer methods, encoding outputs, and shape invariants.scripts/inspect_checkpoint_config.py when you need a safe ColBERTConfig summary; pass --allow-remote only when remote Hugging Face access is intentional.scripts/tokenization_smoke.py when a local checkpoint or explicitly allowed model name should be checked for marker placement, truncation, and tensor shapes.references/troubleshooting.md when imports, checkpoint metadata, Hugging Face downloads, max-length truncation, punctuation masking, or device behavior is surprising.Indexer/Searcher usage, route to the indexing-and-search sub-skill.Trainer, route to the training-and-distillation sub-skill.colbert-ir/colbertv2.0 or bert-base-uncased can require network/cache access.ColBERTConfig.load_from_checkpoint() can return None for a generic Hugging Face backbone or a checkpoint directory missing ColBERT artifact.metadata.1; do not pre-insert marker IDs before calling ColBERT tensorizers.query_maxlen; document tensor width is capped by doc_maxlen but may be the longest sequence in the batch, not always exactly doc_maxlen.