Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -13,45 +13,80 @@ pretty_name: QuantCall Results
|
|
| 13 |
|
| 14 |
# QuantCall Results
|
| 15 |
|
| 16 |
-
|
| 17 |
-
[QuantCall benchmark](https://github.com/Happynood/quant-toolcall-bench)
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
-
|
| 20 |
-
to populate the leaderboard.
|
| 21 |
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
-
|
| 25 |
|
| 26 |
| Column | Type | Description |
|
| 27 |
|--------|------|-------------|
|
| 28 |
| `model` | string | Model identifier (HF repo ID or local path) |
|
| 29 |
| `quant` | string | Quantization level: fp16, Q8_0, Q5_K_M, Q4_K_M, AWQ, GPTQ |
|
| 30 |
| `backend` | string | Inference backend: llama-cpp, transformers, vllm, openai |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
| `svr` | float | Schema-Validity Rate [0, 1] |
|
| 32 |
| `tsa` | float | Tool-Selection Accuracy [0, 1] |
|
| 33 |
| `ac` | float | Argument Correctness [0, 1] |
|
| 34 |
| `abstention` | float | Abstention Accuracy [0, 1] |
|
| 35 |
| `fcr` | float | Function-Calling Reliability — 0.25 × (SVR + TSA + AC + Abst) |
|
| 36 |
-
| `
|
| 37 |
-
| `vram_gb` | float | Peak VRAM usage in GB (null if not measured) |
|
| 38 |
-
| `eta` | float | Efficiency: FCR / peak VRAM (null if vram_gb is null) |
|
| 39 |
| `git_commit` | string | QuantCall repo commit SHA used for this run |
|
| 40 |
-
| `config_sha256` | string | SHA-256 of the run config
|
| 41 |
| `dataset_sha256` | string | SHA-256 of the evaluation sample |
|
| 42 |
-
| `tiers` | string | Comma-separated tier list: T0, T1, T2, T3, T4, T5, T6 |
|
| 43 |
-
| `sample_size` | int | Number of instances evaluated per tier |
|
| 44 |
| `timestamp` | string | ISO-8601 UTC timestamp of the run |
|
| 45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
## How to Submit
|
| 47 |
|
| 48 |
1. Run the benchmark on your hardware following [docs/RUN_REAL.md](https://github.com/Happynood/quant-toolcall-bench/blob/main/docs/RUN_REAL.md).
|
| 49 |
2. Verify your `result.json` contains a `manifest` block with git SHA and hashes.
|
| 50 |
3. Open a PR on [GitHub](https://github.com/Happynood/quant-toolcall-bench) adding your result file under `results/`.
|
| 51 |
-
4.
|
|
|
|
| 52 |
|
| 53 |
## Links
|
| 54 |
|
| 55 |
- GitHub: https://github.com/Happynood/quant-toolcall-bench
|
| 56 |
-
-
|
| 57 |
-
-
|
|
|
|
|
|
| 13 |
|
| 14 |
# QuantCall Results
|
| 15 |
|
| 16 |
+
Real benchmark results for the
|
| 17 |
+
[QuantCall benchmark](https://github.com/Happynood/quant-toolcall-bench),
|
| 18 |
+
measuring how quantization degrades LLM function-calling reliability.
|
| 19 |
+
Every row comes from an actual `quantcall run` execution — no fabricated or
|
| 20 |
+
hand-edited numbers.
|
| 21 |
|
| 22 |
+
## Files
|
|
|
|
| 23 |
|
| 24 |
+
| File | Grain | Description |
|
| 25 |
+
|------|-------|--------------|
|
| 26 |
+
| `data/runs.csv` | one row per real run (per seed) | Raw per-seed data with full manifest (git SHA, config/dataset hashes) |
|
| 27 |
+
| `data/leaderboard.csv` | one row per (model, quant, backend, decoding, tier) | Aggregated over seeds, with bootstrap 95% CIs and deltas vs an explicit baseline quant |
|
| 28 |
|
| 29 |
+
## Schema: `data/runs.csv`
|
| 30 |
|
| 31 |
| Column | Type | Description |
|
| 32 |
|--------|------|-------------|
|
| 33 |
| `model` | string | Model identifier (HF repo ID or local path) |
|
| 34 |
| `quant` | string | Quantization level: fp16, Q8_0, Q5_K_M, Q4_K_M, AWQ, GPTQ |
|
| 35 |
| `backend` | string | Inference backend: llama-cpp, transformers, vllm, openai |
|
| 36 |
+
| `decoding` | string | Decoding mode: free or constrained |
|
| 37 |
+
| `tier` | string | Dataset tier(s) evaluated, `+`-joined (e.g. `T1+T6`) |
|
| 38 |
+
| `seed` | int | Random seed for this run |
|
| 39 |
+
| `sample_size` | int | Number of instances evaluated per tier |
|
| 40 |
| `svr` | float | Schema-Validity Rate [0, 1] |
|
| 41 |
| `tsa` | float | Tool-Selection Accuracy [0, 1] |
|
| 42 |
| `ac` | float | Argument Correctness [0, 1] |
|
| 43 |
| `abstention` | float | Abstention Accuracy [0, 1] |
|
| 44 |
| `fcr` | float | Function-Calling Reliability — 0.25 × (SVR + TSA + AC + Abst) |
|
| 45 |
+
| `vram_gb` | float | Peak VRAM usage in GB for this run (empty if not measured) |
|
|
|
|
|
|
|
| 46 |
| `git_commit` | string | QuantCall repo commit SHA used for this run |
|
| 47 |
+
| `config_sha256` | string | SHA-256 of the run config |
|
| 48 |
| `dataset_sha256` | string | SHA-256 of the evaluation sample |
|
|
|
|
|
|
|
| 49 |
| `timestamp` | string | ISO-8601 UTC timestamp of the run |
|
| 50 |
|
| 51 |
+
## Schema: `data/leaderboard.csv`
|
| 52 |
+
|
| 53 |
+
| Column | Type | Description |
|
| 54 |
+
|--------|------|-------------|
|
| 55 |
+
| `model` | string | Model identifier |
|
| 56 |
+
| `quant` | string | Quantization level |
|
| 57 |
+
| `backend` | string | Inference backend |
|
| 58 |
+
| `decoding` | string | Decoding mode |
|
| 59 |
+
| `tier` | string | Dataset tier(s), `+`-joined |
|
| 60 |
+
| `n_seeds` | int | Number of seeds aggregated into this row |
|
| 61 |
+
| `fcr_mean` | float | Mean FCR across seeds |
|
| 62 |
+
| `fcr_ci_low` | float | Bootstrap 95% CI lower bound for FCR |
|
| 63 |
+
| `fcr_ci_high` | float | Bootstrap 95% CI upper bound for FCR |
|
| 64 |
+
| `svr_mean` | float | Mean SVR across seeds |
|
| 65 |
+
| `tsa_mean` | float | Mean TSA across seeds |
|
| 66 |
+
| `ac_mean` | float | Mean AC across seeds |
|
| 67 |
+
| `abstention_mean` | float | Mean Abstention across seeds |
|
| 68 |
+
| `vram_gb` | float | Mean peak VRAM in GB (empty if not measured) |
|
| 69 |
+
| `eta` | float | Efficiency: fcr_mean / vram_gb (empty if vram_gb is empty) |
|
| 70 |
+
| `delta_fcr_rel` | float | Relative FCR delta vs `baseline_quant` in the same scope; empty for the baseline row itself |
|
| 71 |
+
| `delta_ac_rel` | float | Relative AC delta vs `baseline_quant` |
|
| 72 |
+
| `baseline_quant` | string | The Δ reference quant for this scope — fp16 if it fits and was run, otherwise the best-available quant, always labeled explicitly here |
|
| 73 |
+
|
| 74 |
+
These two schemas are generated by `quantcall leaderboard <results_dir>`
|
| 75 |
+
(source of truth: `src/quantcall/report/published.py`,
|
| 76 |
+
`docs/RESULTS_SCHEMA.md` in the repo) — this card is kept in sync with that
|
| 77 |
+
code by a repo test (`test_no_schema_drift`).
|
| 78 |
+
|
| 79 |
## How to Submit
|
| 80 |
|
| 81 |
1. Run the benchmark on your hardware following [docs/RUN_REAL.md](https://github.com/Happynood/quant-toolcall-bench/blob/main/docs/RUN_REAL.md).
|
| 82 |
2. Verify your `result.json` contains a `manifest` block with git SHA and hashes.
|
| 83 |
3. Open a PR on [GitHub](https://github.com/Happynood/quant-toolcall-bench) adding your result file under `results/`.
|
| 84 |
+
4. Run `quantcall leaderboard results/ --output-dir leaderboard/` and include the
|
| 85 |
+
regenerated `runs.csv` / `leaderboard.csv` in your PR.
|
| 86 |
|
| 87 |
## Links
|
| 88 |
|
| 89 |
- GitHub: https://github.com/Happynood/quant-toolcall-bench
|
| 90 |
+
- This dataset: https://huggingface.co/datasets/happynood/quantcall-results
|
| 91 |
+
- Eval suite: https://huggingface.co/datasets/happynood/quantcall-suite
|
| 92 |
+
- Leaderboard (Space): https://huggingface.co/spaces/happynood/quantcall-leaderboard
|