Catalog PyPI
Back to packageRELEASE DETAILS

0.0.5

PyPI

aibench

<div align="center" id="top"> <img src="https://github.com/BasedLabs/aibenchmark/raw/4f774ab8ad881724103b69ecd328a1eb80a94d3b/media/aibenchmark-logo.png" width="250px" alt="aibencharmk" /> &#xa0; <!-- <a href="https://aibenchmark.netlify.app">Demo</a> --> </div> <h1 align="center">AIBenchmark</h1> <h2 align="center">Benchmark your model against other models</h2> <p align="center"> <img alt="Github top language" src="https://img.shields.io/github/languages/top/BasedLabs/aibenchmark?color=56BEB8"> <img alt="Github language count" src="https://img.shields.io/github/languages/count/BasedLabs/aibenchmark?color=56BEB8"> <img alt="Repository size" src="https://img.shields.io/github/repo-size/BasedL

aibenchmarkmetrics
Published29 Jun 2023
Direct dependencies11
Transitive dependenciesNot calculated

README

Version 0.0.5 documentation
aibencharmk

 

AIBenchmark

Benchmark your model against other models

Github top language Github language count Repository size License

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

  1. Fast comparison of metrics of your model and other SOTA models for particular dataset
  2. Supporting 16+ most populat datasets, the list is always updating. Soon we willl support more than 1000 datasets
  3. All metrics in one place and we are adding new ones in a standardised way

Technologies

The following tools were used in this project:

:memo: License

This project is under license from MIT. For more details, see the LICENSE file.

Made by Igor and Tim

 

Back to top

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 11

Native requirements
11 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
datasets
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
datasets (==2.13.0)runtime
gdown
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
gdown (==4.7.1)runtime
lxml
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
lxml (==4.9.2)runtime
numpy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
numpy (==1.25.0)runtime
pandas
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
pandas (==2.0.2)runtime
py7zr
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
py7zr (==0.20.5)runtime
pytest
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
pytest (==7.3.2)runtime
Requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
Requests (==2.31.0)runtime
scikit-learn
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
scikit-learn (==1.2.2)runtime
setuptools
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
setuptools (==68.0.0)runtime
torch
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
torch (==2.0.1)runtime

Distribution files

2 collected
aibench-0.0.5-py3-none-any.whl

bdist_wheel · 10.5 KB · Python py3

Source file
aibench-0.0.5.tar.gz

sdist · 10.14 KB · Python source

Source file

Repository

PENDING
basedlabs/aibenchmark

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:01 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:f70f6f481f800c0518b9cbbd413c3a7e6e965bb030553594cc7bdf86ff1e1a17

Other collected versions

View all collected versions →