Observed since 21 Oct, 10:01 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aibench
<div align="center" id="top"> <img src="https://github.com/BasedLabs/aibenchmark/raw/4f774ab8ad881724103b69ecd328a1eb80a94d3b/media/aibenchmark-logo.png" width="250px" alt="aibencharmk" />   <!-- <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
About | Features | Technologies | Starting | License | Author
Run this script in your terminal:
$ pip install aibench
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())
The following tools were used in this project:
This project is under license from MIT. For more details, see the LICENSE file.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
datasetsEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | datasets (==2.13.0) | runtime |
gdownEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | gdown (==4.7.1) | runtime |
lxmlEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | lxml (==4.9.2) | runtime |
numpyEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | numpy (==1.25.0) | runtime |
pandasEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | pandas (==2.0.2) | runtime |
py7zrEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | py7zr (==0.20.5) | runtime |
pytestEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | pytest (==7.3.2) | runtime |
RequestsEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | Requests (==2.31.0) | runtime |
scikit-learnEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | scikit-learn (==1.2.2) | runtime |
setuptoolsEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | setuptools (==68.0.0) | runtime |
torchEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | torch (==2.0.1) | runtime |
bdist_wheel · 10.5 KB · Python py3
sdist · 10.14 KB · Python source
Observed since 21 Oct, 10:01 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:f70f6f481f800c0518b9cbbd413c3a7e6e965bb030553594cc7bdf86ff1e1a17