Lewdiculous commited on
Commit
22fdd5f
1 Parent(s): a2fe820

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +70 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 [ChaoticNeutrals/Eris-Lelanacles-7b](https://huggingface.co/ChaoticNeutrals/Eris-Lelanacles-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
+ ## Original model information:
38
+
39
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/642265bc01c62c1e4102dc36/U-A4s_BZyJZQTtYrFAVBa.jpeg)
40
+
41
+ This model was merged using the SLERP merge method.
42
+
43
+ ### Models Merged
44
+
45
+ The following models were included in the merge:
46
+ * [Nitral-AI/Eris-Beach_Day-7b](https://huggingface.co/Nitral-AI/Eris-Beach_Day-7b)
47
+ * [Nitral-AI/Lelanta-lake-7b](https://huggingface.co/Nitral-AI/Lelanta-lake-7b)
48
+
49
+ ### Configuration
50
+
51
+ The following YAML configuration was used to produce this model:
52
+
53
+ ```yaml
54
+ slices:
55
+ - sources:
56
+ - model: Nitral-AI/Lelanta-lake-7b
57
+ layer_range: [0, 32]
58
+ - model: Nitral-AI/Eris-Beach_Day-7b
59
+ layer_range: [0, 32]
60
+ merge_method: slerp
61
+ base_model: Nitral-AI/Lelanta-lake-7b
62
+ parameters:
63
+ t:
64
+ - filter: self_attn
65
+ value: [0, 0.5, 0.3, 0.7, 1]
66
+ - filter: mlp
67
+ value: [1, 0.5, 0.7, 0.3, 0]
68
+ - value: 0.5
69
+ dtype: bfloat16
70
+ ```