Lewdiculous commited on
Commit
cae6b8f
1 Parent(s): f97ae3c

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +84 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - mistral
5
+ - quantized
6
+ - text-generation-inference
7
+ - roleplay
8
+ # - rp
9
+ # - uncensored
10
+ pipeline_tag: text-generation
11
+ inference: false
12
+ # language:
13
+ # - en
14
+ # FILL THE INFORMATION:
15
+ # Reference: Test157t/Copium-Cola-9B
16
+ # Author: Test157t
17
+ # Model: Copium-Cola-9B
18
+ # Llama.cpp version: b2343
19
+ ---
20
+
21
+ Uploading...
22
+
23
+ ```python
24
+ quantization_options = [
25
+ "Q4_K_M", "Q4_K_S", "IQ4_NL", "IQ4_XS", "Q5_K_M",
26
+ "Q5_K_S", "Q6_K", "Q8_0", "IQ3_M", "IQ3_S", "IQ3_XS", "IQ3_XXS"
27
+ ]
28
+ ```
29
+ <hr>
30
+
31
+ ## GGUF-Imatrix quantizations for [Test157t/Copium-Cola-9B](https://huggingface.co/Test157t/Copium-Cola-9B/).
32
+
33
+ All credits belong to the author.
34
+
35
+ If you liked these, check out the work with [FantasiaFoundry's GGUF-IQ-Imatrix-Quantization-Script](https://huggingface.co/FantasiaFoundry/GGUF-Quantization-Script).
36
+
37
+ ## What does "Imatrix" mean?
38
+
39
+ It stands for **Importance Matrix**, a technique used to improve the quality of quantized models. <br>
40
+ [[1]](https://github.com/ggerganov/llama.cpp/discussions/5006/) <br>
41
+ The **Imatrix** is calculated based on calibration data, and it helps determine the importance of different model activations during the quantization process. The idea is to preserve the most important information during quantization, which can help reduce the loss of model performance and lead to better quality preservation, especially when the calibration data is diverse. <br>
42
+ [[2]](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384/)
43
+
44
+ For --imatrix data, included `imatrix.dat` was used.
45
+
46
+ Using [llama.cpp-b2343](https://github.com/ggerganov/llama.cpp/releases/tag/b2343/):
47
+
48
+ ```
49
+ Base⇢ GGUF(F16)⇢ Imatrix-Data(F16)⇢ GGUF(Imatrix-Quants)
50
+ ```
51
+
52
+ The new **IQ3_S** quant-option has shown to be better than the old Q3_K_S, so I added that instead of the later. Only supported in `koboldcpp-1.59.1` or higher.
53
+
54
+ If you want any specific quantization to be added, feel free to ask.
55
+
56
+ <!-- ## Model image: -->
57
+
58
+ ## Original model information:
59
+
60
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/642265bc01c62c1e4102dc36/rEj8wf7Vkq_Lf8H30uE-J.png)
61
+
62
+ This model was merged using the passthrough merge method.
63
+
64
+ ### Models Merged
65
+
66
+ The following models were included in the merge:
67
+ * [ChaoticNeutrals/Eris_7B](https://huggingface.co/ChaoticNeutrals/Eris_7B)
68
+
69
+ ### Configuration
70
+
71
+ The following YAML configuration was used to produce this model:
72
+
73
+ ```yaml
74
+ slices:
75
+ - sources:
76
+ - model: ChaoticNeutrals/Eris_7B
77
+ layer_range: [0, 20]
78
+ - sources:
79
+ - model: ChaoticNeutrals/Eris_7B
80
+ layer_range: [12, 32]
81
+ merge_method: passthrough
82
+ dtype: float16
83
+
84
+ ```