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 that is supported by the embedding and Google SDK dependencies.

Install from PyPI:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install hermes-benchmark

Sentence Transformers and the Gemini/Vertex AI SDK are included in the default installation. To update an existing installation, run python -m pip install --upgrade hermes-benchmark.

For source installation, wheel installation, and development tools, 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.6

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.6
File Size Uploaded Provenance Actions
hermes_benchmark-0.0.6.tar.gz 181.7 kB Without provenance Details for hermes_benchmark-0.0.6.tar.gz

Built distribution (wheel)

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

Total release size: 313.9 kB

Release files / hermes_benchmark-0.0.6.tar.gz

Download URL hermes_benchmark-0.0.6.tar.gz
Size 181.7 kB
Tags Source
SHA-256 checksum
How to use checksums
78822e6a9227499785274ff1bc05cced395df6949019aef3a4a83c8a95fa0ab7
BLAKE2b-256 checksum
How to use checksums
b9f3c40fae8b89715c002bc2aae48bdaec939942dcb6dfc49083a3a1c98cd3d9
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.6-py3-none-any.whl

Download URL hermes_benchmark-0.0.6-py3-none-any.whl
Size 132.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af6e55ed8affc84ce0bdd3a00c886acc0506e7b3db6bc2a3c94eafdf9e6b8a6a
BLAKE2b-256 checksum
How to use checksums
f5a78075010406775dce31d278c2e0a917a4e8803387e8d95ae9203e9e0f42fe
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.6

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.6 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