Skip to content
Back to skills

Pruning Export Evaluation

ASecurity

"Export SPLADE vectors for Anserini, prune Anserini-style JSONL,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
toolspythonjavashellapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill pruning-export-evaluation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pruning Export Evaluation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pruning Export Evaluation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-pruning-export-evaluation/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-pruning-export-evaluation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pruning-export-evaluation
description: "Export SPLADE vectors for Anserini, prune Anserini-style JSONL,
  and plan BEIR/PISA evaluation without unsafe external downloads."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# SPLADE Pruning, Export, and Evaluation

Use this sub-skill when the task involves Anserini export files, static pruning of SPLADE JSONL vectors, BEIR evaluation planning, PISA evaluation planning, or optional external evaluation dependencies.

## Read First

- [references/export-evaluation.md](references/export-evaluation.md): `splade.create_anserini`, `EncodeAnserini` formats, BEIR/PISA planning, and external engine boundaries.
- [references/pruning-workflows.md](references/pruning-workflows.md): safe static pruning workflows, bundled script usage, and why upstream shell workflows are reference-only.
- [references/troubleshooting.md](references/troubleshooting.md): quantization, empty vectors, BEIR downloads, Java/Pyserini/Anserini, PISA, and `pytrec_eval` failures.

## Route Tasks

- Use this sub-skill for `python -m splade.create_anserini`, `docs_anserini.jsonl`, `queries_anserini.tsv`, pruning, BEIR, PISA, Pyserini/Anserini, and TREC metric dependency questions.
- Route core SPLADE training, indexing, retrieval, Hydra package selection, and toy/full pipeline commands to `../hydra-pipelines/SKILL.md`.
- Route model classes, data loaders, raw/qrel schemas, vector semantics, and API smoke checks to `../model-data-api/SKILL.md`.
- Route HuggingFace Trainer training or reranking workflows to `../hf-training-reranking/SKILL.md`.

## Safe Actions

- Generate export command templates with `python -m splade.create_anserini`; do not assume Anserini or PISA is installed.
- Use `scripts/prune_doc_index.py` for local top-k or value-threshold pruning of Anserini-style document JSONL.
- Use `scripts/prune_quantile.py` for local per-token quantile pruning of Anserini-style document JSONL.
- Use `--dry-run` and `--limit` before writing large pruned collections.
- Treat BEIR, Anserini, Pyserini, PISA, and metric evaluation as explicit external-prerequisite workflows that may require downloads, Java, compiled binaries, or network access.

## Avoid

- Do not run BEIR downloads, Pyserini indexing/search, Anserini regressions, PISA binaries, or large benchmark workflows unless the user explicitly approves external engines, downloads, and runtime cost.
- Do not point runtime instructions at the original repository shell scripts; use the bundled Python pruning scripts and the references in this sub-skill.
- Do not treat pruning output as fully evaluated retrieval quality until an external index/search/evaluation stack has been prepared and run intentionally.

Files in this skill

  • SKILL.md2.7 KB
  • references/export-evaluation.md5.5 KB
  • references/pruning-workflows.md4.8 KB
  • references/troubleshooting.md5.7 KB
  • scripts/prune_doc_index.py8.6 KB
  • scripts/prune_quantile.py7.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.