Update README.md
Browse files
README.md
CHANGED
@@ -7,8 +7,35 @@ tags:
|
|
7 |
- mergekit
|
8 |
- merge
|
9 |
- roleplay
|
|
|
10 |
---
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |

|
14 |
|
|
|
7 |
- mergekit
|
8 |
- merge
|
9 |
- roleplay
|
10 |
+
inference: false
|
11 |
---
|
12 |
|
13 |
+
This repository hosts GGUF-IQ-Imatrix quants for [ChaoticNeutrals/Eris-Lelanacles-7b](https://huggingface.co/ChaoticNeutrals/Eris-Lelanacles-7b).
|
14 |
+
|
15 |
+
**What does "Imatrix" mean?**
|
16 |
+
|
17 |
+
It stands for **Importance Matrix**, a technique used to improve the quality of quantized models.
|
18 |
+
The **Imatrix** is calculated based on calibration data, and it helps determine the importance of different model activations during the quantization process.
|
19 |
+
The idea is to preserve the most important information during quantization, which can help reduce the loss of model performance, especially when the calibration data is diverse.
|
20 |
+
[[1]](https://github.com/ggerganov/llama.cpp/discussions/5006) [[2]](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
|
21 |
+
|
22 |
+
For imatrix data generation, kalomaze's `groups_merged.txt` with added roleplay chats was used, you can find it [here](https://huggingface.co/Lewdiculous/Datura_7B-GGUF-Imatrix/blob/main/imatrix-with-rp-format-data.txt). This was just to add a bit more diversity to the data.
|
23 |
+
|
24 |
+
**Steps:**
|
25 |
+
|
26 |
+
```
|
27 |
+
Base⇢ GGUF(F16)⇢ Imatrix-Data(F16)⇢ GGUF(Imatrix-Quants)
|
28 |
+
```
|
29 |
+
*Using the latest llama.cpp at the time.*
|
30 |
+
|
31 |
+
```python
|
32 |
+
quantization_options = [
|
33 |
+
"Q4_K_M", "Q4_K_S", "IQ4_XS", "Q5_K_M", "Q5_K_S",
|
34 |
+
"Q6_K", "Q8_0", "IQ3_M", "IQ3_S", "IQ3_XXS"
|
35 |
+
]
|
36 |
+
```
|
37 |
+
|
38 |
+
## Original model information:
|
39 |
|
40 |

|
41 |
|