Lewdiculous commited on
Commit
220f788
1 Parent(s): d0bbd03

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +77 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/Infinitely-Laydiculous-7B](https://huggingface.co/Nitral-AI/Infinitely-Laydiculous-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
+ ---
38
+
39
+ # Kool-Aid
40
+
41
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/626dfb8786671a29c715f8a9/Bpz3HVIKPaEn_Sz6OD86Z.jpeg)
42
+
43
+ This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
44
+
45
+ ## Merge Details
46
+ ### Merge Method
47
+
48
+ This model was merged using the SLERP merge method.
49
+
50
+ ### Models Merged
51
+
52
+ The following models were included in the merge:
53
+ * ErosEris
54
+ * CookieNexus
55
+
56
+ ### Configuration
57
+
58
+ The following YAML configuration was used to produce this model:
59
+
60
+ ```yaml
61
+ slices:
62
+ - sources:
63
+ - model: CookieNexus
64
+ layer_range: [0, 32]
65
+ - model: ErosEris
66
+ layer_range: [0, 32]
67
+ merge_method: slerp
68
+ base_model: CookieNexus
69
+ parameters:
70
+ t:
71
+ - filter: self_attn
72
+ value: [0, 0.5, 0.3, 0.7, 1]
73
+ - filter: mlp
74
+ value: [1, 0.5, 0.7, 0.3, 0]
75
+ - value: 0.5
76
+ dtype: bfloat16
77
+ ```