Ster/Docs

Benchmark extractor package

Benchmark extractors split out of the wisent monorepo. Contains:

Overview#

Benchmark extractors split out of the wisent monorepo. Contains:

  • wisent.extractors.lm_eval — 676 extractors for lm-eval-harness tasks
  • wisent.extractors.hf — 223 extractors for wisent-proprietary HuggingFace benchmarks

Install#

Example
pip install wisent-extractors

Usage#

python
from wisent.extractors.lm_eval.registry.lm_extractor_registry import get_extractor

extractor = get_extractor("gsm8k")
pairs = extractor.extract_contrastive_pairs(limit=100)

Namespace packaging#

This package is a namespace package that shares the wisent.* import root with wisent-core and wisent-evaluators. All three can be installed side-by-side without conflict.