A small framework for benchmarking machine learning models.
Project description
nnbench: A small framework for benchmarking machine learning models
Welcome to nnbench, a framework for benchmarking machine learning models. The main goals of this project are:
- To provide a portable, easy-to-use solution for model evaluation that leads to better ML experiment organization, and
- To integrate with experiment and metadata tracking solutions for easy adoption.
On a high level, you can think of nnbench as "pytest for ML models" - you define benchmarks similarly to test cases, collect them, and selectively run them based on model type, markers, and environment info.
What's new is that upon completion, you can stream the resulting data to any sink of your choice (including multiple at the same), which allows easy integration with experiment trackers and metadata stores.
See the quickstart.md
for usage examples.
Installation
⚠️ nnbench is an experimental project - expect bugs and sharp edges.
Install it directly from source, for example either using pip
or poetry
:
pip install git+https://github.com/aai-institute/nnbench.git
# or
poetry add git+https://github.com/aai-institute/nnbench.git
A PyPI package release is planned for the future.
Contributing
We encourage and welcome contributions from the community to enhance the project. Please check discussions or raise an issue on GitHub for any problems you encounter with the library.
For information on the general development workflow, see the contribution guide.
License
The nnbench library is distributed under the Apache-2 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nnbench-0.1.0rc1.tar.gz
.
File metadata
- Download URL: nnbench-0.1.0rc1.tar.gz
- Upload date:
- Size: 75.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d60621d13349aff65a1c9b33cc02e2be968ec35de9124080c2a4d6a2fe1e37a1 |
|
MD5 | 2809a7e8f36c20a147d9e5c7b8502f6e |
|
BLAKE2b-256 | be18c1e96be404240b1537928292cc72a9422024a283b85ba291eaacce180d68 |
File details
Details for the file nnbench-0.1.0rc1-py3-none-any.whl
.
File metadata
- Download URL: nnbench-0.1.0rc1-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cf2381750c2d631e60644a427a6f6bc2c79cbef4d71702ca17a6bb6359ddbc3 |
|
MD5 | 4f42befaba13071add5269c66a7c90df |
|
BLAKE2b-256 | 3e46f7c9b103173da17b2194a4039b161753d4031a1927ca2d85fcf5ae215774 |