Update README.md
Browse files
README.md
CHANGED
|
@@ -7,4 +7,35 @@ sdk: static
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
+
<div align="center">
|
| 11 |
+
|
| 12 |
+
<img src="https://raw.githubusercontent.com/saqlain2204/quantgap/main/assets/logo-banner.png" alt="quantgap" width="560">
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
**Measure how much a quantized model drifted from the original.**
|
| 16 |
+
|
| 17 |
+
[](https://github.com/saqlain2204/quantgap)
|
| 18 |
+
[](https://saqlain2204.github.io/quantgap/)
|
| 19 |
+
|
| 20 |
+
</div>
|
| 21 |
+
|
| 22 |
+
quantgap is an open-source tool for measuring the distribution drift introduced by
|
| 23 |
+
quantization. It scores models locally against a shared reference pack, so different
|
| 24 |
+
quant formats and publishers can be compared using the same method.
|
| 25 |
+
|
| 26 |
+
## What quantgap provides
|
| 27 |
+
|
| 28 |
+
- KLD drift measurements with confidence intervals
|
| 29 |
+
- Top-1 agreement and perplexity-ratio metrics
|
| 30 |
+
- Checks for looping, wrong-script output, and invalid JSON
|
| 31 |
+
- Support for local files and compatible model servers
|
| 32 |
+
- Reproducible result files with model and pack hashes
|
| 33 |
+
- A public leaderboard for comparing quantized models
|
| 34 |
+
|
| 35 |
+
## Useful links
|
| 36 |
+
|
| 37 |
+
- [Source code and documentation](https://github.com/saqlain2204/quantgap)
|
| 38 |
+
- [Quantization leaderboard](https://saqlain2204.github.io/quantgap/)
|
| 39 |
+
- [Reference packs](https://huggingface.co/quantgap-packs)
|
| 40 |
+
|
| 41 |
+
Code is licensed under [Apache-2.0](https://github.com/saqlain2204/quantgap/blob/main/LICENSE).
|