Skip to main content

Evalmetry

A research toolkit for measuring and analyzing model behavior.

Evalmetry evaluates Hugging Face language models with lm-eval and collects internal signals from the same forward passes used for scoring.

Features

  • Benchmark scores with per-layer logit lens and layer similarity.
  • Optional attention, hidden states, custom hooks and module statistics.
  • Custom benchmarks, LLM judge scoring and modified-model adapters.
  • Resumable runs, saved-data readers and comparison reports.

Model evaluation supports one process on one CUDA GPU. CPU execution is for test fixtures and verification tools. Reports and saved-data readers do not require a GPU.

Evidence and research example

Read the 1.1.0 verification report and the prediction-depth research showcase. Generation parity is established at the same actual batch size. Generation is not batch-invariant.

Install

Install from PyPI:

pip install evalmetry

Evalmetry requires Python >=3.10. Use a compatible CUDA build of PyTorch. The Python import and CLI are both evalmetry.

To install this release explicitly, use pip install evalmetry==1.1.1. For development, clone this repository and run python -m pip install -e ..

Quick start

Use run to evaluate eight documents and save the default signals:

evalmetry run --model-args pretrained=Qwen/Qwen3-0.6B,dtype=bfloat16,device=cuda \
    --tasks arc_easy --num-fewshot 0 --limit 8 --batch-size 1 \
    --output results/quickstart

Use report to generate a report from that run:

evalmetry report results/quickstart --output report/quickstart

The first run downloads the model and dataset if needed. Reusing a run directory resumes its recorded configuration. A different experiment needs a different directory.

Other commands: collect-research-data adds optional tensors to a completed run, debug reads a saved module trace, and module-stats reads saved statistics. Traces and statistics must be enabled during collection. Use evalmetry <command> --help for options.

Reading results

Evaluation results, manifests and collected signals are written under the selected output directory. Read saved signals with evalmetry.load_signals(run_dir). evalmetry.describe_schema() describes the columns.

License

Evalmetry is released under the MIT License.

This project is built on top of EleutherAI's lm-evaluation-harness.

Metadata

Release files for evalmetry 1.1.1

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

Source distribution (sdist)

Source distribution for evalmetry 1.1.1
File Size Uploaded
evalmetry-1.1.1.tar.gz 180.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for evalmetry 1.1.1
File Interpreter ABI Platform
evalmetry-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 368.0 kB

Release files / evalmetry-1.1.1.tar.gz

Download URL evalmetry-1.1.1.tar.gz
Size 180.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f9e58826075a65f5a5d4700535232b425e59b4a3d637807d3cee1d106ccc19c8
BLAKE2b-256 checksum
How to use checksums
2cdc6bcfd8ea68279638681986305d575a6c2b8b6619dc34b7e3f27d70009c20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / evalmetry-1.1.1-py3-none-any.whl

Download URL evalmetry-1.1.1-py3-none-any.whl
Size 187.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca53e1edbc6d4fd4afcba8d5197f612ec88d6148a83f5039165013ce2f6ec286
BLAKE2b-256 checksum
How to use checksums
7a0eb1df0ba8c067ff8ca34ec50e26c6cd1f9534e4b567753b79589e3ec00a14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

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