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).
sparse-encoder-searchUse SparseEncoder for SPLADE-style sparse embeddings, sparse similarity/search, sparsity diagnostics, and optional sparse search-service integration in sentence-transformers.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about SparseEncoder, SPLADE-style sparse embeddings, lexical expansion, sparse similarity, sparse IR evaluation, sparse losses, or sparse search backends such as Qdrant, Elasticsearch, OpenSearch, or Seismic.
references/api-reference.md and the safe CLI in scripts/sparse_encoder_smoke.py.references/workflows.md.references/troubleshooting.md.SentenceTransformer semantic search utilities, route to ../retrieval-and-utilities/SKILL.md; use this sub-skill only for sparse embeddings and sparse search adapters.../evaluation-and-training/SKILL.md; keep this sub-skill focused on sparse-specific losses, evaluators, and diagnostics.../backend-export-optimization/SKILL.md.Run help without loading a model:
python scripts/sparse_encoder_smoke.py --help
Run a local/cached model only when the model files are already available or downloads are allowed:
python scripts/sparse_encoder_smoke.py --model naver/splade-cocondenser-ensembledistil --sentences "weather today" "sunny outside" --max-active-dims 32
Add --local-files-only in offline environments.
SparseEncoder.encode_query and SparseEncoder.encode_document for information retrieval when the model has query/document prompts or routes.SparseEncoder.encode for generic sparse embedding and similarity experiments.convert_to_sparse_tensor=False only when dense tensors are required by downstream code.max_active_dims to cap non-zero dimensions when memory, latency, or service payload size is too high.SparseEncoder.sparsity before and after tuning or training; sparse models should usually have very high sparsity and a manageable number of active dimensions.