$npx skillfedfor your agent

ir-datasets

provides a common interface to many IR ad-hoc ranking benchmarks, training datasets, etc.

Worth itPyPI Text ProcessingReleased Jul 2026752.2K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — ir_datasets-0.6.3-py3-none-any.whl
v0.6.3 · released 2026-07-18 · Python >=3.8 · 6 runtime deps: lxml, numpy, pyyaml, requests, tqdm, lz4

Yes. ir_datasets is actively maintained, has no known vulnerabilities, and solves a real problem for IR researchers and practitioners—centralizing access to fragmented benchmark datasets. The low install friction and permissive MIT license make adoption straightforward. Install it if you work with information retrieval datasets or need to prototype ranking models against standard benchmarks.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later.
  • First use of a dataset will download and cache source files, which may take time and disk space depending on dataset size.
  • Low install friction with six common runtime dependencies.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.

last release 2026-07-18 (27 days) · last repo commit 2026-07-18 · 8 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 752,161 downloads/mo, #5,153 on PyPI

Verify before relying

pip install ir_datasets

import ir_datasets
dataset = ir_datasets.load('msmarco-passage/train')
for doc in dataset.docs_iter():
    print(doc.doc_id, doc.text)
  • Whether the package handles automatic retries or resumable downloads for large dataset transfers
  • Memory requirements and performance characteristics for the largest datasets mentioned (e.g., ClueWeb with ~1B documents)
Same gist for agents: .md · .json

What it is and what it does

ir_datasets is a Python package that centralizes access to information retrieval benchmarks and training datasets used in academic research and industry. It abstracts away the complexity of locating, downloading, and parsing datasets from multiple sources—handling format differences, encoding issues, and file extraction automatically. The package provides both a Python API and command-line interface, allowing you to iterate over documents, queries, and relevance judgments in a consistent format.

The package handles datasets ranging from small benchmarks to massive collections like ClueWeb (approximately 1 billion documents) by using iterators that avoid loading entire datasets into memory. It also provides fast random-access lookups through document stores, supports slicing operations for parallel processing, and automatically fixes known data quality issues in popular datasets like MS-MARCO. When datasets are not publicly available, it provides instructions on how to obtain them.

Use it for

  • Build and evaluate information retrieval models using standard benchmarks like TREC, MS-MARCO, or BEIR without manually downloading and parsing each dataset.
  • Process large document collections in parallel by using efficient iter slicing to partition data across multiple devices or workers.
  • Quickly prototype ranking algorithms by accessing queries, documents, and relevance judgments through a unified iterator interface.
  • Access multilingual IR datasets (e.g., HC4, CLIRMatrix) for cross-lingual retrieval research without managing separate download and format conversion steps.
  • Build dataset-agnostic evaluation pipelines that work across multiple benchmarks by relying on the common interface and automatic data normalization.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

ir_datasets is actively maintained, has no known vulnerabilities, and solves a real problem for IR researchers and practitioners—centralizing access to fragmented benchmark datasets. The low install friction and permissive MIT license make adoption straightforward. Install it if you work with information retrieval datasets or need to prototype ranking models against standard benchmarks.

Install

ir-datasets on PyPI

Before you install

Low install friction with six common runtime dependencies. Actively maintained with a release within the last month and no known vulnerabilities.

Requires Python 3.8 or later. First use of a dataset will download and cache source files, which may take time and disk space depending on dataset size.

License in practice

Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.

Quickstart

pip install ir_datasets

import ir_datasets
dataset = ir_datasets.load('msmarco-passage/train')
for doc in dataset.docs_iter():
    print(doc.doc_id, doc.text)

Verify before relying

  • Whether the package handles automatic retries or resumable downloads for large dataset transfers
  • Memory requirements and performance characteristics for the largest datasets mentioned (e.g., ClueWeb with ~1B documents)

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
lxmlnumpypyyamlrequeststqdmlz4
MaintenanceActively maintained 27 days since the last release
Last repo commit
First released
Downloads752,161 / month, #5,153 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Text ProcessingTopic :: Text Processing :: Indexing

Evidence: ir_datasets-0.6.3-py3-none-any.whl

Tags

Capabilities
ir dataset loadinginformation retrieval benchmarkstrec dataset accessmsmarco clueweb downloadranking dataset interfacead-hoc retrieval datair evaluation datasets
Topics
information-retrievalbenchmark-datasetsnlp-data

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ir dataset loading”

  • ir-datasetsProvides a unified Python interface to download, parse, and iterate…
  • trec-car-toolsProvides Python and Java bindings to read TREC Complex Answer…
  • mlcroissantValidates and loads datasets described in the MLCommons Croissant…

Give your agent the search over MCP, or paste the wish link into any chat.

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also ir-measures · trec-car-tools · pytrec-eval · datasets · pytrec-eval-terrier · tfds-nightly · tensorflow-datasets · cinemagoer · arckit · rdata