Skip to main content

Tools for running IR Evaluation Suites

Project description

🍬 SuiteEval

Tools for running IR Evaluation Suites with PyTerrier.

Example Usage

from suiteeval import BEIR
from pyterrier_pisa import PisaIndex
from pyterrier_dr import ElectraScorer
from pyterrier_t5 import MonoT5ReRanker

def systems(context):
    index = PisaIndex(context.path + "/index.pisa")
    index.index(context.get_corpus_iter())
    bm25 = index.bm25()
    yield bm25 >> context.text_loader() >>  MonoT5ReRanker(), "BM25 >> monoT5"
    yield bm25 >> context.text_loader() >> ElectraScorer(), "BM25 >> monoELECTRA"

results = BEIR(systems)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

suiteeval-0.1.0.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

suiteeval-0.1.0-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file suiteeval-0.1.0.tar.gz.

File metadata

  • Download URL: suiteeval-0.1.0.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for suiteeval-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b506584d36d47b5c35c85282fcaa8df34f6e89090a2076b28513b1774189f54a
MD5 511bd9feb6676a77c3aef34112191673
BLAKE2b-256 fe9881d5200d31c37d1d0aecf99bd518bd92689d73586a73c0bf07a685fcbba8

See more details on using hashes here.

File details

Details for the file suiteeval-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: suiteeval-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 33.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for suiteeval-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67084ac5c7fc3becb91a5a1c17dc3442228077bcd5d9d272e4e2ae42001c9c5c
MD5 9a7f6af4e6b152d5ab8a7ea83bc3a4c7
BLAKE2b-256 e87081b8f7756435eaa50f293d8438f72fde73f0fe4360e1db433a6f7d4e4d13

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page