Metadata-Version: 2.4
Name: fairbench-ai
Version: 0.3.0
Summary: FairBench - AI model benchmarking suite with SWE-bench integration
Home-page: https://github.com/AlessandroBernini/fairbench
Author: Alessandro Bernini
Author-email: alessandro@mair.it
License: Apache-2.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: click>=8.1
Requires-Dist: pyyaml>=6.0
Requires-Dist: requests>=2.31
Requires-Dist: psutil>=5.9
Provides-Extra: ml
Requires-Dist: lm-eval>=0.4; extra == "ml"
Requires-Dist: llama-cpp-python>=0.2; extra == "ml"
Provides-Extra: swebench
Requires-Dist: swebench>=2.0; extra == "swebench"
Requires-Dist: datasets>=2.14; extra == "swebench"
Requires-Dist: rich>=13.0; extra == "swebench"
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: ruff>=0.1; extra == "dev"
Requires-Dist: mypy>=1.0; extra == "dev"
Dynamic: author
Dynamic: author-email
Dynamic: home-page
Dynamic: requires-python

# FairBench

AI model benchmarking suite with SWE-bench integration.

## Quick Start

```bash
pip install fair-bench
fairbench run -m model.gguf
```

## Benchmarks

- **Quality**: MMLU, HellaSwag, GSM8K, HumanEval, IFEval, TruthfulQA, ARC-Challenge, LiveBench
- **Speed**: TTFT, TPOT, throughput (llama-cpp-python)
- **Memory**: VRAM peak, RAM peak
- **SWE-bench**: GitHub issue resolution capability

## Configuration

Edit `~/.fairbench/config.yaml`:

```yaml
api_url: https://fairbench.vercel.app/api
default_n_ctx: 4096
default_n_gpu_layers: -1
default_quant: q4_k_m
default_threads: 0
publish: true
results_dir: /home/jarvispi/.fairbench/results
```

## Publishing

By default, every benchmark run is **automatically published** to the public leaderboard. Set `publish: false` to disable.
