brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
dense-encodingUse Pyserini dense encoders, Faiss search, Lucene dense/HNSW routing, hybrid retrieval, and dense backend troubleshooting.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task involves encoding corpora or queries, choosing dense encoder classes, searching Faiss indexes, searching Lucene dense/HNSW indexes, combining dense and sparse retrieval, selecting CPU/GPU backends, using OpenAI embeddings, or diagnosing missing faiss and model-backend failures.
../install-and-runtime/SKILL.md.../index-search-fetch/SKILL.md.../evaluation-and-fusion/SKILL.md.../serving-and-agent-tools/SKILL.md.scripts/validate_dense_jsonl.py before any model command.references/model-and-backend-reference.md; prefer --device cpu unless GPU availability is confirmed.scripts/dense_cli_builder.py and review the printed command before running it.python -m pyserini.encode with input, output, and encoder subcommands.output --to-faiss or build a Faiss index from encoded JSONL, then search with python -m pyserini.search.faiss.python -m pyserini.search.lucene --dense --hnsw or --flat; route index-building details to index-search-fetch.FaissSearcher with a sparse Lucene searcher and tune fusion parameters; route final run evaluation to evaluation-and-fusion.references/encoding-and-dense-search.md covers JSONL schemas, encoding, Faiss indexing/search, Lucene dense search, and hybrid retrieval.references/model-and-backend-reference.md maps encoder classes, devices, OpenAI, multimodal, UniIR, and encoded-query choices.references/troubleshooting.md covers missing faiss, Torch CPU/CUDA mismatch, model downloads, OpenAI keys, JSONL field errors, dimension mismatches, and hybrid alignment failures.faiss-cpu; use CPU defaults unless a compatible GPU build is available.