AIBenchmark
Benchmark your model against other models
About | Features | Technologies | Starting | License | Author
Installation
Run this script in your terminal:
$ pip install aibench
About
AIBenchmark is a package which lets you quickly get the benchmark of your model based on the popular datasets and compare with existing leaderboard. It also has a nice collection of metrics which you could easily import.
We currently support 14 text-based and 2 image-based datasets for AutoBenchmarking aiming for regression/classification tasks. Available datasets could be found in aibenchmark/dataset.py file.
Or run the following code:
from aibenchmark.dataset import DatasetsList
print(list(DatasetsList.get_available_datasets()))
Code example for benchmarking:
from aibenchmark.benchmark import Benchmark
from aibenchmark.dataset import DatasetInfo, DatasetsList
benchmark = Benchmark(DatasetsList.Texts.SST)
dataset_info: DatasetInfo = benchmark.dataset_info
print(dataset_info)
test_features = dataset_info.data['Texts']
model = torch.load(...)
# Implement your code based on the type of model you use, your pre- and post-processing etc.
outputs = model.predict(test_features)
# Results of your model based on predictions
benchmark_results = benchmark.run(predictions=outputs, metrics=['accuracy', 'precision', 'recall', 'f1_score'])
# Metrics
print(benchmark_results)
# Existing leaderboard for this dataset
print(benchmark.get_existing_benchmarks())
Features
- Fast comparison of metrics of your model and other SOTA models for particular dataset
- Supporting 16+ most populat datasets, the list is always updating. Soon we willl support more than 1000 datasets
- All metrics in one place and we are adding new ones in a standardised way
Technologies
The following tools were used in this project:
📝 License
This project is under license from MIT. For more details, see the LICENSE file.
Metadata
Release files for aibench 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aibench-0.0.5.tar.gz | 10.4 kB | Without provenance | Details for aibench-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aibench-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for aibench-0.0.5-py3-none-any.whl |
Total release size: 21.1 kB
Release files / aibench-0.0.5.tar.gz
| Download URL | aibench-0.0.5.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b46b4cb6a6dd1d36fef7f57d1ded5a42d9a767f108d02ee87e7a99301ed1be2d
|
|
BLAKE2b-256 checksum How to use checksums |
14e8b9059615ad115e612f43c19f6290cea6410cd9273b20050d3135e3d9912a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / aibench-0.0.5-py3-none-any.whl
| Download URL | aibench-0.0.5-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71b62f519c22438acde8dc306a73c9ddc7bd6333456530fffeea65731d7c3b7e
|
|
BLAKE2b-256 checksum How to use checksums |
5a916e4192a6e51248e148d6b1a6ef840937c0fa42b4b5e1840362fbe96af513
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Security for aibench 0.0.5
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.