Lewdiculous commited on
Commit
094c4d8
1 Parent(s): 08635d1

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +79 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: ChaoticNeutrals/Layris_9B
16
+ # Author: ChaoticNeutrals
17
+ # Model: Layris_9B
18
+ # Llama.cpp version: b2350
19
+ ---
20
+
21
+ ## GGUF-Imatrix quantizations for [ChaoticNeutrals/Layris_9B](https://huggingface.co/ChaoticNeutrals/Layris_9B/).
22
+
23
+ All credits belong to the author.
24
+
25
+ If you liked these, check out the work with [FantasiaFoundry's GGUF-IQ-Imatrix-Quantization-Script](https://huggingface.co/FantasiaFoundry/GGUF-Quantization-Script).
26
+
27
+ ## What does "Imatrix" mean?
28
+
29
+ It stands for **Importance Matrix**, a technique used to improve the quality of quantized models. <br>
30
+ [[1]](https://github.com/ggerganov/llama.cpp/discussions/5006/) <br>
31
+ 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>
32
+ [[2]](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384/)
33
+
34
+ For --imatrix data, included `imatrix.dat` was used.
35
+
36
+ Using [llama.cpp-b2350](https://github.com/ggerganov/llama.cpp/releases/tag/b2350/):
37
+
38
+ ```
39
+ Base⇢ GGUF(F16)⇢ Imatrix-Data(F16)⇢ GGUF(Imatrix-Quants)
40
+ ```
41
+
42
+ 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.
43
+
44
+ If you want any specific quantization to be added, feel free to ask.
45
+
46
+ <!-- ## Model image: -->
47
+
48
+ ## Original model information:
49
+
50
+ # Layris
51
+
52
+ This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
53
+
54
+ ## Merge Details
55
+ ### Merge Method
56
+
57
+ This model was merged using the passthrough merge method.
58
+
59
+ ### Models Merged
60
+
61
+ The following models were included in the merge:
62
+ * [ChaoticNeutrals/Eris_Remix_7B](https://huggingface.co/ChaoticNeutrals/Eris_Remix_7B)
63
+ * [l3utterfly/mistral-7b-v0.1-layla-v4](https://huggingface.co/l3utterfly/mistral-7b-v0.1-layla-v4)
64
+
65
+ ### Configuration
66
+
67
+ The following YAML configuration was used to produce this model:
68
+
69
+ ```yaml
70
+ slices:
71
+ - sources:
72
+ - model: ChaoticNeutrals/Eris_Remix_7B
73
+ layer_range: [0, 20]
74
+ - sources:
75
+ - model: l3utterfly/mistral-7b-v0.1-layla-v4
76
+ layer_range: [12, 32]
77
+ merge_method: passthrough
78
+ dtype: float16
79
+ ```