计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
vectorizers-ctfidf【效率与协作】Tunes BERTopic topic-term extraction with c-TF-IDF, CountVectorizer, OnlineCountVectorizer, and update_topics refreshes.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about BERTopic topic-term extraction: c-TF-IDF scoring, vectorizer tuning, or online vocabulary updates.
ClassTfidfTransformer setup, including bm25_weighting, reduce_frequent_words, and seed-word boosts.CountVectorizer tuning for topic words: ngram_range, stop_words, min_df, max_features, and custom tokenizers.OnlineCountVectorizer incremental vocabulary workflows, including decay and delete_min_df.BERTopic.update_topics(...) using a new vectorizer or c-TF-IDF transformer.references/api-reference.md for verified classes, signatures, and parameter behavior.references/workflows.md for fit-time tuning, post-fit refreshes, custom tokenizers, and streaming vocabulary updates.references/troubleshooting.md for import, parameter, and online-vocabulary failures.scripts/smoke_vectorizers.py for a safe synthetic smoke that exercises custom tokenization, c-TF-IDF sweeps, update_topics, and online cleanup.update_topics(docs, vectorizer_model=..., ctfidf_model=...) rather than retraining embeddings or clustering.min_df or max_features; for streaming models add delete_min_df on OnlineCountVectorizer.stop_words, a domain stopword list, ClassTfidfTransformer(reduce_frequent_words=True), and on smaller corpora bm25_weighting=True.ngram_range and remove stopwords so multiword terms survive scoring.CountVectorizer or OnlineCountVectorizer and keep it consistent across fit and refresh calls.max_features is set.OnlineCountVectorizer stream with decay and delete_min_df: expected output is a sparse matrix whose vocabulary can drop low-frequency historical terms and later re-add them when they become frequent again.