Lewdiculous
commited on
Commit
•
e22ae59
1
Parent(s):
bf8c9e1
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- mergekit
|
5 |
+
- merge
|
6 |
+
- roleplay
|
7 |
+
- mistral
|
8 |
+
inference: false
|
9 |
+
license: other
|
10 |
+
---
|
11 |
+
|
12 |
+
This repository hosts GGUF-IQ-Imatrix quants for [Nitral-AI/Eris-Beach_Day-7b](https://huggingface.co/Nitral-AI/Eris-Beach_Day-7b).
|
13 |
+
|
14 |
+
**What does "Imatrix" mean?**
|
15 |
+
|
16 |
+
It stands for **Importance Matrix**, a technique used to improve the quality of quantized models.
|
17 |
+
The **Imatrix** is calculated based on calibration data, and it helps determine the importance of different model activations during the quantization process.
|
18 |
+
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.
|
19 |
+
[[1]](https://github.com/ggerganov/llama.cpp/discussions/5006) [[2]](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
|
20 |
+
|
21 |
+
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.
|
22 |
+
|
23 |
+
**Steps:**
|
24 |
+
|
25 |
+
```
|
26 |
+
Base⇢ GGUF(F16)⇢ Imatrix-Data(F16)⇢ GGUF(Imatrix-Quants)
|
27 |
+
```
|
28 |
+
*Using the latest llama.cpp at the time.*
|
29 |
+
|
30 |
+
```python
|
31 |
+
quantization_options = [
|
32 |
+
"Q4_K_M", "Q4_K_S", "IQ4_XS", "Q5_K_M", "Q5_K_S",
|
33 |
+
"Q6_K", "Q8_0", "IQ3_M", "IQ3_S", "IQ3_XXS"
|
34 |
+
]
|
35 |
+
```
|
36 |
+
|
37 |
+
**Card image:**
|
38 |
+
|
39 |
+
![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/65d4cf2693a0a3744a27536c/8yb6BHKwOzo_UIrjMcLmk.jpeg)
|
40 |
+
|
41 |
+
## Original model information:
|
42 |
+
|
43 |
+
This model was merged using the SLERP merge method.
|
44 |
+
|
45 |
+
### Models Merged
|
46 |
+
|
47 |
+
The following models were included in the merge:
|
48 |
+
* [Nitral-AI/Infinity-RPool-7b](https://huggingface.co/Nitral-AI/Infinity-RPool-7b)
|
49 |
+
* [Nitral-AI/Eris-FloraLake-7b](https://huggingface.co/Nitral-AI/Eris-FloraLake-7b)
|
50 |
+
|
51 |
+
### Configuration
|
52 |
+
|
53 |
+
The following YAML configuration was used to produce this model:
|
54 |
+
|
55 |
+
```yaml
|
56 |
+
slices:
|
57 |
+
- sources:
|
58 |
+
- model: Nitral-AI/Eris-FloraLake-7b
|
59 |
+
layer_range: [0, 32]
|
60 |
+
- model: Nitral-AI/Infinity-RPool-7b
|
61 |
+
layer_range: [0, 32]
|
62 |
+
merge_method: slerp
|
63 |
+
base_model: Nitral-AI/Eris-FloraLake-7b
|
64 |
+
parameters:
|
65 |
+
t:
|
66 |
+
- filter: self_attn
|
67 |
+
value: [0, 0.5, 0.3, 0.7, 1]
|
68 |
+
- filter: mlp
|
69 |
+
value: [1, 0.5, 0.7, 0.3, 0]
|
70 |
+
- value: 0.5
|
71 |
+
dtype: bfloat16
|
72 |
+
``
|