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.

Install

Install from PyPI in your Python environment:

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.0.0. 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; use a different directory for a different experiment.

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.

Metadata

Release files for evalmetry 1.0.0

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.0.0
File Size Uploaded
evalmetry-1.0.0.tar.gz 178.5 kB Details

Built distribution (wheel)

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

Total release size: 364.0 kB

Release files / evalmetry-1.0.0.tar.gz

Download URL evalmetry-1.0.0.tar.gz
Size 178.5 kB
Tags Source
SHA-256 checksum
How to use checksums
42df4a71058be7a3635776b0ca39580344189de3f20dac2097fc5148268f292b
BLAKE2b-256 checksum
How to use checksums
080774e641fd4dd49df55a0e00e7e865b00e743cfbf6f4046d02192ea762fc28
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 15, 2026.

Transparency log

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

Download URL evalmetry-1.0.0-py3-none-any.whl
Size 185.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6163447dad5a02b839a8b968abaf7e72a1a192c595e9089ae41aabfdf15c3cbb
BLAKE2b-256 checksum
How to use checksums
252f083ba37f41e48bfc83942dc0a1f75f4ea9a5fe78f736be9033940d765e87
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 15, 2026.

Transparency log

Release history Release notifications | RSS feed

1.1.1

2 release files

1.1.0

2 release files

This release

1.0.0 This release

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