Files
Eric BuehlerandGitHub af1b5c290a Implement Imatrix for ISQ (#949)
* Implement imatrix for ISQ

* Implement imatrix quantization for q3k, q2k

* Fix build on cuda

* Implement imatrix quantization for q5k, q6k

* Utilize merged rev

* Fix typo

* Update docs

* Update docs

* Track stats for imatrix

* Implement internal imatrix quantization

* Implement internal imatrix quantization for all models but the moe ones

* Add for the moe models

* Simpler

* Handle clearing kv cache

* Add calibration data

* Add better calibration data

* Add example and docs

* Add example and docs
2024-11-30 06:55:43 -05:00

351 B

Calibration data

Sourced from: https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8

  • calibration_datav3.txt is the original data (64181 tokens)
  • calibration_datav3_small.txt is up to line 1241 of the original data (30173 tokens)

Using the full dataset will take the longest but also provide the most accurate calibration.