Installation¶
Choose an environment¶
The package declares Python >=3.9. This is the package's minimum, not a claim
that every dependency supports every Python/platform combination.
For new environments, use a maintained Python release supported by your selected
embedding and Google SDK versions. Do not mix the installation interpreter with
another environment's hermes-data executable.
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
On Windows, activate with .venv\Scripts\activate in Command Prompt or
.venv\Scripts\Activate.ps1 in PowerShell.
Install from PyPI¶
Install the library, including Sentence Transformers for embeddings and the Google Gen AI SDK for Gemini/Vertex AI clients:
python -m pip install hermes-benchmark
python -m hermes_benchmark.cli --help
For a reproducible environment, pin the package version:
python -m pip install "hermes-benchmark==0.0.6"
This installs a published release, not uncommitted changes in a local checkout. The package page is Hermes Benchmark on PyPI.
Version 0.0.6 makes embedding and Google SDK dependencies part of the default
installation. To update an older installation:
python -m pip install --upgrade hermes-benchmark
Install from this checkout¶
Run these commands from the directory containing pyproject.toml:
python -m pip install .
python -m hermes_benchmark.cli --help
For editable development and documentation:
python -m pip install -e ".[dev,docs]"
A source checkout can also be built and installed as a wheel:
python -m pip install build
python -m build --wheel
python -m pip install --force-reinstall "dist/hermes_benchmark-0.0.6-py3-none-any.whl"
The filename above matches this checkout's project version. Use the actual filename produced by your build when working with another version. A wheel installs the library and CLI; repository-only example files are not a substitute for packaged language templates.
Included dependencies and compatibility extras¶
The default installation includes dump ingestion, configuration, inspection,
pilots, artifact validation, embedding generation, and the Gemini/Vertex AI SDK.
The embeddings, gemini, and vertex extras remain available as compatibility
aliases for older installation commands; they add no dependencies beyond the
default installation.
| Extra | Purpose |
|---|---|
embeddings, gemini, vertex |
Compatibility aliases; already included by default |
huggingface |
Optional datasets/Hub dependencies; the documented workflow writes local files |
dev |
Test tooling |
docs |
MkDocs documentation tooling |
Gemini and Vertex AI use the same included SDK; authentication and provider
select the service. Package installation does not supply an API key, enable an
API, download embedding model weights, or download a Wikipedia dump. Model
loading follows the configured cache and local_files_only policy.
Verify the active installation¶
python -m pip show hermes-benchmark
python -m hermes_benchmark.cli languages
hermes-data --help
To inspect the loaded module path:
import hermes_benchmark
print(hermes_benchmark.__file__)
Then follow Getting started. Model download/offline behavior and API credentials are described in Configuration.