Skip to main content

Hermes Benchmark

Hermes Benchmark generates Wikipedia-based NLP benchmark datasets through a Python API and the hermes-data command line. It supports eight task families, localized configuration templates, cached external services, and artifact validation.

Documentation: Documentation site · Getting started · Configuration · Tasks and outputs · Python API · Methodology and limitations

Installation

Python 3.9 or newer is required by the package metadata. Use a maintained Python release for a new environment; optional model/provider dependencies may impose additional version requirements.

Install from PyPI:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install "hermes-benchmark[embeddings,gemini]"

For source installation, wheel installation, and optional dependencies, see the installation guide.

Quick start

Place an Azerbaijani pages-articles XML dump in the working directory, then run:

hermes-data languages
hermes-data init-config --language az --output config.az.yaml
hermes-data info --config config.az.yaml
hermes-data pilot --config config.az.yaml
hermes-data generate --config config.az.yaml
hermes-data validate --config config.az.yaml

Before generation, edit the dump path, output directory, and targets in the YAML file. The Azerbaijani starter expects azwiki-latest-pages-articles-multistream.xml.bz2. It requests 100 samples per output variant, enables seven task families, and leaves classification disabled. NER and template QA still require Wikidata access or a complete local cache. Generation also requires the configured embedding model.

For 1,000 examples per variant, use the reviewed Azerbaijani configuration. Gemini QA and a small Gemini classification test have separate examples in the guide. Reranking defaults to 20 titles: one gold title and 19 hard negatives.

Supported tasks

Configuration task Output variants Services
paragraph_coherence Four-way outlier selection Embeddings
paragraph_ordering Four-way paragraph-order selection Embeddings through shared enrichment
article_membership Same-article binary decision Embeddings
next_paragraph Four-way continuation selection Embeddings
reranking Title ranking with one known gold title Embeddings
ner Extraction, type assignment, type verification Wikidata
classification Label prediction, multiple choice, verification Embeddings and Gemini/Vertex AI
extractive_qa Answer-span extraction Wikidata; Gemini/Vertex AI in hybrid mode

A target of 1,000 produces 1,000 records in each enabled variant: NER, for example, produces three files with 1,000 records each.

Validation and research use

validate checks file integrity, corpus alignment, sample structure/counts, QA spans, and contradictory QA annotations. It does not establish expert-level annotation accuracy, question uniqueness for every sample, or contamination-free splits. NER labels come from Wikipedia links and a configurable Wikidata ontology; classification labels may be model-generated. Read the methodology before reporting benchmark results.

Development and documentation

python -m pip install ".[dev,docs]"
python scripts/generate_docs_reference.py --check
python scripts/validate_docs.py
python -m pytest -q
python -m mkdocs build --strict
python -m mkdocs serve

Documentation is maintained in docs/. The publishing guide describes PyPI releases, GitHub Pages deployment, and how to keep examples and references synchronized with the implementation.

The software is MIT-licensed. Wikipedia and Wikidata source material have their own licensing and attribution requirements.

Metadata

Release files for hermes-benchmark 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hermes-benchmark 0.0.5
File Size Uploaded Provenance Actions
hermes_benchmark-0.0.5.tar.gz 181.5 kB Without provenance Details for hermes_benchmark-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hermes-benchmark 0.0.5
File Interpreter ABI Platform Actions
hermes_benchmark-0.0.5-py3-none-any.whl Python 3 none any Details for hermes_benchmark-0.0.5-py3-none-any.whl

Total release size: 313.5 kB

Release files / hermes_benchmark-0.0.5.tar.gz

Download URL hermes_benchmark-0.0.5.tar.gz
Size 181.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6c21cea7d49a2a64387db06c1053f490dedb88283ec969c849a7b73e22ad8dba
BLAKE2b-256 checksum
How to use checksums
ba9c75a531b58c0711b5967da03f63a7f6a06ff170abc41c6e99739d8aebaf32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / hermes_benchmark-0.0.5-py3-none-any.whl

Download URL hermes_benchmark-0.0.5-py3-none-any.whl
Size 132.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba6fe4dd3bd50fae1ac1216d77a20459345f11aecb52d746eeeede176c2debe3
BLAKE2b-256 checksum
How to use checksums
74d593d6c048fc0a6c590fcde00700cf0196871048161ab80ac46ed833cda68f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for hermes-benchmark 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page